diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-05-23 18:15:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-05-23 18:15:44 -0700 |
commit | 1de564b8c1a6f9f8bf3a106daa0be9f2cba7d045 (patch) | |
tree | 857f2a968d8992320d3b8aa415a4880d5be5c0e6 /arch/x86/boot/main.c | |
parent | 42b682a30f86e0ab10557dbfa437f01befb5a8ec (diff) | |
parent | aeb84412037b89e06f45e382f044da6f200e12f8 (diff) | |
download | linux-1de564b8c1a6f9f8bf3a106daa0be9f2cba7d045.tar.bz2 |
Merge tag 'x86_build_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 build updates from Borislav Petkov:
- Add a "make x86_debug.config" target which enables a bunch of useful
config debug options when trying to debug an issue
- A gcc-12 build warnings fix
* tag 'x86_build_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/boot: Wrap literal addresses in absolute_pointer()
x86/configs: Add x86 debugging Kconfig fragment plus docs
Diffstat (limited to 'arch/x86/boot/main.c')
-rw-r--r-- | arch/x86/boot/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/main.c b/arch/x86/boot/main.c index 1202d4f8a390..c4ea5258ab55 100644 --- a/arch/x86/boot/main.c +++ b/arch/x86/boot/main.c @@ -35,7 +35,7 @@ static void copy_boot_params(void) u16 cl_offset; }; const struct old_cmdline * const oldcmd = - (const struct old_cmdline *)OLD_CL_ADDRESS; + absolute_pointer(OLD_CL_ADDRESS); BUILD_BUG_ON(sizeof(boot_params) != 4096); memcpy(&boot_params.hdr, &hdr, sizeof(hdr)); |