Merge tag 'x86-build-2024-03-11' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Mar 2024 02:23:16 +0000 (19:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 Mar 2024 02:23:16 +0000 (19:23 -0700)
Pull x86 build updates from Ingo Molnar:

 - Reduce <asm/bootparam.h> dependencies

 - Simplify <asm/efi.h>

 - Unify *_setup_data definitions into <asm/setup_data.h>

 - Reduce the size of <asm/bootparam.h>

* tag 'x86-build-2024-03-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86: Do not include <asm/bootparam.h> in several files
  x86/efi: Implement arch_ima_efi_boot_mode() in source file
  x86/setup: Move internal setup_data structures into setup_data.h
  x86/setup: Move UAPI setup structures into setup_data.h

1  2 
arch/x86/Makefile
arch/x86/boot/compressed/sev.c
arch/x86/include/asm/sev.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/crash.c
arch/x86/kernel/sev-shared.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -9,11 -9,11 +9,13 @@@
   * and is included directly into both code-bases.
   */
  
+ #include <asm/setup_data.h>
  #ifndef __BOOT_COMPRESSED
 -#define error(v)      pr_err(v)
 -#define has_cpuflag(f)        boot_cpu_has(f)
 +#define error(v)                      pr_err(v)
 +#define has_cpuflag(f)                        boot_cpu_has(f)
 +#define sev_printk(fmt, ...)          printk(fmt, ##__VA_ARGS__)
 +#define sev_printk_rtl(fmt, ...)      printk_ratelimited(fmt, ##__VA_ARGS__)
  #else
  #undef WARN
  #define WARN(condition, format...) (!!(condition))