Skip to content

Commit 18398bb

Browse files
committed
Merge tag 'x86_cleanups_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Borislav Petkov: "The usual round of random minor fixes and cleanups all over the place" * tag 'x86_cleanups_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/Makefile: Remove unneeded whitespaces before tabs x86/of: Kill unused early_init_dt_scan_chosen_arch() x86: Fix misspelled Kconfig symbols x86/Kconfig: Remove references to obsolete Kconfig symbols x86/smp: Remove unnecessary assignment to local var freq_scale
2 parents 6e5772c + a757ac5 commit 18398bb

File tree

9 files changed

+6
-14
lines changed

9 files changed

+6
-14
lines changed

arch/x86/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,9 +611,7 @@ config X86_INTEL_MID
611611
depends on X86_IO_APIC
612612
select I2C
613613
select DW_APB_TIMER
614-
select APB_TIMER
615614
select INTEL_SCU_PCI
616-
select MFD_INTEL_MSIC
617615
help
618616
Select to build a kernel capable of supporting Intel MID (Mobile
619617
Internet Device) platform systems which do not have the PCI legacy

arch/x86/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ define archhelp
299299
echo ' isoimage - Create a boot CD-ROM image (arch/x86/boot/image.iso)'
300300
echo ' bzdisk/fdimage*/hdimage/isoimage also accept:'
301301
echo ' FDARGS="..." arguments for the booted kernel'
302-
echo ' FDINITRD=file initrd for the booted kernel'
302+
echo ' FDINITRD=file initrd for the booted kernel'
303303
echo ''
304304
echo ' kvm_guest.config - Enable Kconfig items for running this kernel as a KVM guest'
305305
echo ' xen.config - Enable Kconfig items for running this kernel as a Xen guest'

arch/x86/include/asm/ia32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ extern void ia32_pick_mmap_layout(struct mm_struct *mm);
6868

6969
#endif
7070

71-
#endif /* !CONFIG_IA32_SUPPORT */
71+
#endif /* CONFIG_IA32_EMULATION */
7272

7373
#endif /* _ASM_X86_IA32_H */

arch/x86/include/asm/irq_stack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
* the output constraints to make the compiler aware that R11 cannot be
5959
* reused after the asm() statement.
6060
*
61-
* For builds with CONFIG_UNWIND_FRAME_POINTER ASM_CALL_CONSTRAINT is
61+
* For builds with CONFIG_UNWINDER_FRAME_POINTER, ASM_CALL_CONSTRAINT is
6262
* required as well as this prevents certain creative GCC variants from
6363
* misplacing the ASM code.
6464
*

arch/x86/include/asm/page_32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static inline void copy_page(void *to, void *from)
4343
{
4444
memcpy(to, from, PAGE_SIZE);
4545
}
46-
#endif /* CONFIG_X86_3DNOW */
46+
#endif /* CONFIG_X86_USE_3DNOW */
4747
#endif /* !__ASSEMBLY__ */
4848

4949
#endif /* _ASM_X86_PAGE_32_H */

arch/x86/include/asm/uaccess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ do { \
411411
: [umem] "m" (__m(addr)), \
412412
[efault] "i" (-EFAULT), "0" (err))
413413

414-
#endif // CONFIG_CC_ASM_GOTO_OUTPUT
414+
#endif // CONFIG_CC_HAS_ASM_GOTO_OUTPUT
415415

416416
/* FIXME: this hack is definitely wrong -AK */
417417
struct __large_struct { unsigned long buf[100]; };

arch/x86/kernel/devicetree.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ char __initdata cmd_line[COMMAND_LINE_SIZE];
3131

3232
int __initdata of_ioapic;
3333

34-
void __init early_init_dt_scan_chosen_arch(unsigned long node)
35-
{
36-
BUG();
37-
}
38-
3934
void __init early_init_dt_add_memory_arch(u64 base, u64 size)
4035
{
4136
BUG();

arch/x86/kernel/smpboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@ DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
22082208

22092209
void arch_scale_freq_tick(void)
22102210
{
2211-
u64 freq_scale = SCHED_CAPACITY_SCALE;
2211+
u64 freq_scale;
22122212
u64 aperf, mperf;
22132213
u64 acnt, mcnt;
22142214

include/linux/of_fdt.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ extern int early_init_dt_scan_memory(unsigned long node, const char *uname,
6565
extern int early_init_dt_scan_chosen_stdout(void);
6666
extern void early_init_fdt_scan_reserved_mem(void);
6767
extern void early_init_fdt_reserve_self(void);
68-
extern void __init early_init_dt_scan_chosen_arch(unsigned long node);
6968
extern void early_init_dt_add_memory_arch(u64 base, u64 size);
7069
extern u64 dt_mem_next_cell(int s, const __be32 **cellp);
7170

0 commit comments

Comments
 (0)