diff --git a/arch/x86/kernel/acpi/wakeup_32.S b/arch/x86/kernel/acpi/wakeup_32.S index 7534db1d5b4a..cf69081073b5 100644 --- a/arch/x86/kernel/acpi/wakeup_32.S +++ b/arch/x86/kernel/acpi/wakeup_32.S @@ -3,7 +3,6 @@ #include #include #include -#include # Copyright 2003, 2008 Pavel Machek #include #include -#include /* Physical address */ #define pa(X) ((X) - __PAGE_OFFSET) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index e4536dd1a91d..6bea19d4a0ca 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -31,7 +31,6 @@ #include #include #include -#include /* * Power off function, if any diff --git a/arch/x86/kernel/relocate_kernel_32.S b/arch/x86/kernel/relocate_kernel_32.S index d4d065b6f2f8..c7c4b1917336 100644 --- a/arch/x86/kernel/relocate_kernel_32.S +++ b/arch/x86/kernel/relocate_kernel_32.S @@ -9,7 +9,6 @@ #include #include #include -#include /* * Must be relocatable PIC code callable as a C function, in particular diff --git a/arch/x86/realmode/rm/trampoline_32.S b/arch/x86/realmode/rm/trampoline_32.S index 578e8b1e2522..3fad907a179f 100644 --- a/arch/x86/realmode/rm/trampoline_32.S +++ b/arch/x86/realmode/rm/trampoline_32.S @@ -23,7 +23,6 @@ #include #include #include -#include #include "realmode.h" .text @@ -60,7 +59,6 @@ SYM_CODE_END(trampoline_start) .section ".text32","ax" .code32 SYM_CODE_START(startup_32) # note: also used from wakeup_asm.S - ANNOTATE_RETPOLINE_SAFE jmp *%eax SYM_CODE_END(startup_32)