hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/x86/boot/main.c
....@@ -33,7 +33,7 @@
3333 u16 cl_offset;
3434 };
3535 const struct old_cmdline * const oldcmd =
36
- (const struct old_cmdline *)OLD_CL_ADDRESS;
36
+ absolute_pointer(OLD_CL_ADDRESS);
3737
3838 BUILD_BUG_ON(sizeof(boot_params) != 4096);
3939 memcpy(&boot_params.hdr, &hdr, sizeof(hdr));