Commit 18398bb8 authored by Linus Torvalds's avatar Linus Torvalds

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
parents 6e5772c8 a757ac55
...@@ -611,9 +611,7 @@ config X86_INTEL_MID ...@@ -611,9 +611,7 @@ config X86_INTEL_MID
depends on X86_IO_APIC depends on X86_IO_APIC
select I2C select I2C
select DW_APB_TIMER select DW_APB_TIMER
select APB_TIMER
select INTEL_SCU_PCI select INTEL_SCU_PCI
select MFD_INTEL_MSIC
help help
Select to build a kernel capable of supporting Intel MID (Mobile Select to build a kernel capable of supporting Intel MID (Mobile
Internet Device) platform systems which do not have the PCI legacy Internet Device) platform systems which do not have the PCI legacy
......
...@@ -299,7 +299,7 @@ define archhelp ...@@ -299,7 +299,7 @@ define archhelp
echo ' isoimage - Create a boot CD-ROM image (arch/x86/boot/image.iso)' echo ' isoimage - Create a boot CD-ROM image (arch/x86/boot/image.iso)'
echo ' bzdisk/fdimage*/hdimage/isoimage also accept:' echo ' bzdisk/fdimage*/hdimage/isoimage also accept:'
echo ' FDARGS="..." arguments for the booted kernel' echo ' FDARGS="..." arguments for the booted kernel'
echo ' FDINITRD=file initrd for the booted kernel' echo ' FDINITRD=file initrd for the booted kernel'
echo '' echo ''
echo ' kvm_guest.config - Enable Kconfig items for running this kernel as a KVM guest' echo ' kvm_guest.config - Enable Kconfig items for running this kernel as a KVM guest'
echo ' xen.config - Enable Kconfig items for running this kernel as a Xen guest' echo ' xen.config - Enable Kconfig items for running this kernel as a Xen guest'
......
...@@ -68,6 +68,6 @@ extern void ia32_pick_mmap_layout(struct mm_struct *mm); ...@@ -68,6 +68,6 @@ extern void ia32_pick_mmap_layout(struct mm_struct *mm);
#endif #endif
#endif /* !CONFIG_IA32_SUPPORT */ #endif /* CONFIG_IA32_EMULATION */
#endif /* _ASM_X86_IA32_H */ #endif /* _ASM_X86_IA32_H */
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
* the output constraints to make the compiler aware that R11 cannot be * the output constraints to make the compiler aware that R11 cannot be
* reused after the asm() statement. * reused after the asm() statement.
* *
* For builds with CONFIG_UNWIND_FRAME_POINTER ASM_CALL_CONSTRAINT is * For builds with CONFIG_UNWINDER_FRAME_POINTER, ASM_CALL_CONSTRAINT is
* required as well as this prevents certain creative GCC variants from * required as well as this prevents certain creative GCC variants from
* misplacing the ASM code. * misplacing the ASM code.
* *
......
...@@ -43,7 +43,7 @@ static inline void copy_page(void *to, void *from) ...@@ -43,7 +43,7 @@ static inline void copy_page(void *to, void *from)
{ {
memcpy(to, from, PAGE_SIZE); memcpy(to, from, PAGE_SIZE);
} }
#endif /* CONFIG_X86_3DNOW */ #endif /* CONFIG_X86_USE_3DNOW */
#endif /* !__ASSEMBLY__ */ #endif /* !__ASSEMBLY__ */
#endif /* _ASM_X86_PAGE_32_H */ #endif /* _ASM_X86_PAGE_32_H */
...@@ -411,7 +411,7 @@ do { \ ...@@ -411,7 +411,7 @@ do { \
: [umem] "m" (__m(addr)), \ : [umem] "m" (__m(addr)), \
[efault] "i" (-EFAULT), "0" (err)) [efault] "i" (-EFAULT), "0" (err))
#endif // CONFIG_CC_ASM_GOTO_OUTPUT #endif // CONFIG_CC_HAS_ASM_GOTO_OUTPUT
/* FIXME: this hack is definitely wrong -AK */ /* FIXME: this hack is definitely wrong -AK */
struct __large_struct { unsigned long buf[100]; }; struct __large_struct { unsigned long buf[100]; };
......
...@@ -31,11 +31,6 @@ char __initdata cmd_line[COMMAND_LINE_SIZE]; ...@@ -31,11 +31,6 @@ char __initdata cmd_line[COMMAND_LINE_SIZE];
int __initdata of_ioapic; int __initdata of_ioapic;
void __init early_init_dt_scan_chosen_arch(unsigned long node)
{
BUG();
}
void __init early_init_dt_add_memory_arch(u64 base, u64 size) void __init early_init_dt_add_memory_arch(u64 base, u64 size)
{ {
BUG(); BUG();
......
...@@ -2208,7 +2208,7 @@ DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE; ...@@ -2208,7 +2208,7 @@ DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
void arch_scale_freq_tick(void) void arch_scale_freq_tick(void)
{ {
u64 freq_scale = SCHED_CAPACITY_SCALE; u64 freq_scale;
u64 aperf, mperf; u64 aperf, mperf;
u64 acnt, mcnt; u64 acnt, mcnt;
......
...@@ -65,7 +65,6 @@ extern int early_init_dt_scan_memory(unsigned long node, const char *uname, ...@@ -65,7 +65,6 @@ extern int early_init_dt_scan_memory(unsigned long node, const char *uname,
extern int early_init_dt_scan_chosen_stdout(void); extern int early_init_dt_scan_chosen_stdout(void);
extern void early_init_fdt_scan_reserved_mem(void); extern void early_init_fdt_scan_reserved_mem(void);
extern void early_init_fdt_reserve_self(void); extern void early_init_fdt_reserve_self(void);
extern void __init early_init_dt_scan_chosen_arch(unsigned long node);
extern void early_init_dt_add_memory_arch(u64 base, u64 size); extern void early_init_dt_add_memory_arch(u64 base, u64 size);
extern u64 dt_mem_next_cell(int s, const __be32 **cellp); extern u64 dt_mem_next_cell(int s, const __be32 **cellp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment