forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
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));