Skip to content

Commit f94ab23

Browse files
committed
Merge tag 'x86_cleanups_for_v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Borislav Petkov: "Misc minor cleanups" * tag 'x86_cleanups_for_v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/entry: Fix typo in comments for syscall_enter_from_user_mode() x86/resctrl: Fix spelling in user-visible warning messages x86/entry/64: Do not include inst.h in calling.h x86/mpparse: Remove duplicate io_apic.h include
2 parents a0d445f + 900ffe3 commit f94ab23

5 files changed

Lines changed: 4 additions & 6 deletions

File tree

arch/x86/entry/calling.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <asm/percpu.h>
77
#include <asm/asm-offsets.h>
88
#include <asm/processor-flags.h>
9-
#include <asm/inst.h>
109

1110
/*
1211

arch/x86/kernel/cpu/resctrl/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ static void domain_add_cpu(int cpu, struct rdt_resource *r)
562562

563563
d = rdt_find_domain(r, id, &add_pos);
564564
if (IS_ERR(d)) {
565-
pr_warn("Could't find cache id for cpu %d\n", cpu);
565+
pr_warn("Couldn't find cache id for CPU %d\n", cpu);
566566
return;
567567
}
568568

@@ -607,7 +607,7 @@ static void domain_remove_cpu(int cpu, struct rdt_resource *r)
607607

608608
d = rdt_find_domain(r, id, NULL);
609609
if (IS_ERR_OR_NULL(d)) {
610-
pr_warn("Could't find cache id for cpu %d\n", cpu);
610+
pr_warn("Couldn't find cache id for CPU %d\n", cpu);
611611
return;
612612
}
613613

arch/x86/kernel/mpparse.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include <asm/irqdomain.h>
2525
#include <asm/mtrr.h>
2626
#include <asm/mpspec.h>
27-
#include <asm/io_apic.h>
2827
#include <asm/proto.h>
2928
#include <asm/bios_ebda.h>
3029
#include <asm/e820/api.h>

include/linux/entry-common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#endif
3939

4040
/*
41-
* TIF flags handled in syscall_enter_from_usermode()
41+
* TIF flags handled in syscall_enter_from_user_mode()
4242
*/
4343
#ifndef ARCH_SYSCALL_ENTER_WORK
4444
# define ARCH_SYSCALL_ENTER_WORK (0)

kernel/entry/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static inline bool report_single_step(unsigned long ti_work)
208208
/*
209209
* If TIF_SYSCALL_EMU is set, then the only reason to report is when
210210
* TIF_SINGLESTEP is set (i.e. PTRACE_SYSEMU_SINGLESTEP). This syscall
211-
* instruction has been already reported in syscall_enter_from_usermode().
211+
* instruction has been already reported in syscall_enter_from_user_mode().
212212
*/
213213
#define SYSEMU_STEP (_TIF_SINGLESTEP | _TIF_SYSCALL_EMU)
214214

0 commit comments

Comments
 (0)