x86: cleanup duplicate includes
Signed-off-by: Joe Perches <joe@perches.com> arch/x86/kernel/reboot.c | 1 - include/asm-x86/elf.h | 5 ++--- include/asm-x86/posix_types.h | 8 +------- include/asm-x86/processor.h | 3 +-- include/asm-x86/unistd.h | 8 +------- 5 files changed, 5 insertions(+), 20 deletions(-) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
#ifdef __KERNEL__
|
||||
# ifdef CONFIG_X86_32
|
||||
# include "unistd_32.h"
|
||||
# else
|
||||
# include "unistd_64.h"
|
||||
# endif
|
||||
#else
|
||||
# ifdef __i386__
|
||||
# if defined(CONFIG_X86_32) || defined(__i386__)
|
||||
# include "unistd_32.h"
|
||||
# else
|
||||
# include "unistd_64.h"
|
||||
|
||||
Reference in New Issue
Block a user