Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: Remove unneeded includes

Clean up includes of and in <asm/syscalls.h>

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200313195144.164260-19-brgerst@gmail.com

authored by

Brian Gerst and committed by
Thomas Gleixner
ffd75b37 0f78ff17

-12
-5
arch/x86/include/asm/syscalls.h
··· 8 8 #ifndef _ASM_X86_SYSCALLS_H 9 9 #define _ASM_X86_SYSCALLS_H 10 10 11 - #include <linux/compiler.h> 12 - #include <linux/linkage.h> 13 - #include <linux/signal.h> 14 - #include <linux/types.h> 15 - 16 11 /* Common in X86_32 and X86_64 */ 17 12 /* kernel/ioport.c */ 18 13 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
-1
arch/x86/kernel/ldt.c
··· 27 27 #include <asm/tlb.h> 28 28 #include <asm/desc.h> 29 29 #include <asm/mmu_context.h> 30 - #include <asm/syscalls.h> 31 30 #include <asm/pgtable_areas.h> 32 31 33 32 /* This is a multiple of PAGE_SIZE. */
-1
arch/x86/kernel/process.c
··· 28 28 #include <linux/hw_breakpoint.h> 29 29 #include <asm/cpu.h> 30 30 #include <asm/apic.h> 31 - #include <asm/syscalls.h> 32 31 #include <linux/uaccess.h> 33 32 #include <asm/mwait.h> 34 33 #include <asm/fpu/internal.h>
-1
arch/x86/kernel/process_32.c
··· 49 49 50 50 #include <asm/tlbflush.h> 51 51 #include <asm/cpu.h> 52 - #include <asm/syscalls.h> 53 52 #include <asm/debugreg.h> 54 53 #include <asm/switch_to.h> 55 54 #include <asm/vm86.h>
-1
arch/x86/kernel/process_64.c
··· 48 48 #include <asm/desc.h> 49 49 #include <asm/proto.h> 50 50 #include <asm/ia32.h> 51 - #include <asm/syscalls.h> 52 51 #include <asm/debugreg.h> 53 52 #include <asm/switch_to.h> 54 53 #include <asm/xen/hypervisor.h>
-2
arch/x86/kernel/signal.c
··· 42 42 #endif /* CONFIG_X86_64 */ 43 43 44 44 #include <asm/syscall.h> 45 - #include <asm/syscalls.h> 46 - 47 45 #include <asm/sigframe.h> 48 46 #include <asm/signal.h> 49 47
-1
arch/x86/kernel/sys_x86_64.c
··· 21 21 22 22 #include <asm/elf.h> 23 23 #include <asm/ia32.h> 24 - #include <asm/syscalls.h> 25 24 26 25 /* 27 26 * Align a virtual address to avoid aliasing in the I$ on AMD F15h.