x86: Do not include <asm/bootparam.h> in several files
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 12 Jan 2024 09:44:39 +0000 (10:44 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 30 Jan 2024 14:17:24 +0000 (15:17 +0100)
commit103bf75fc928d16185feb216bda525b5aaca0b18
tree5aafa5b12b99f112edb5700d1d9b51a6149bd777
parent785ddc8b6bebd958a5b6fb7b6b4aa6584c2f0cb2
x86: Do not include <asm/bootparam.h> in several files

Remove the include statement for <asm/bootparam.h> from several files
that don't require it and limit the exposure of those definitions within
the Linux kernel code.

  [ bp: Massage commit message. ]

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20240112095000.8952-5-tzimmermann@suse.de
14 files changed:
arch/x86/boot/compressed/acpi.c
arch/x86/boot/compressed/cmdline.c
arch/x86/boot/compressed/efi.c
arch/x86/boot/compressed/pgtable_64.c
arch/x86/boot/compressed/sev.c
arch/x86/include/asm/kexec.h
arch/x86/include/asm/mem_encrypt.h
arch/x86/include/asm/sev.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/crash.c
arch/x86/kernel/sev-shared.c
arch/x86/platform/pvh/enlighten.c
arch/x86/xen/enlighten_pvh.c
arch/x86/xen/vga.c