From: Lin Ruizhe linruizhe@huawei.com
hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------
Add kabi_resetve in struct acpi_rsdp_addr and setup_header
Signed-off-by: Lin Yujun linyujun809@huawei.com --- arch/x86/include/uapi/asm/bootparam.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/x86/include/uapi/asm/bootparam.h b/arch/x86/include/uapi/asm/bootparam.h index 01d19fc22346..15c5fb41777c 100644 --- a/arch/x86/include/uapi/asm/bootparam.h +++ b/arch/x86/include/uapi/asm/bootparam.h @@ -44,6 +44,7 @@ #include <linux/types.h> #include <linux/screen_info.h> #include <linux/apm_bios.h> +#include <linux/kabi.h> #include <linux/edd.h> #include <asm/ist.h> #include <video/edid.h> @@ -104,6 +105,7 @@ struct setup_header { __u32 init_size; __u32 handover_offset; __u32 kernel_info_offset; + KABI_RESERVE(1) } __attribute__((packed));
struct sys_desc_table {