提交 a5bc243a 编写于 作者: Z Zheng Zengkai 提交者: Yang Yingliang

x86: Fix kabi broken for struct cpuinfo_x86

hulk inclusion
category: Bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I47H3V
CVE: NA

-------------------------------------------------

Fix kabi broken introduced by the following commits:
"x86/topology: Add CPUID.1F multi-die/package support"
"x86/topology: Create topology_max_die_per_package()"
"x86/topology: Define topology_logical_die_id()"
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 baca90c0
...@@ -129,14 +129,16 @@ struct cpuinfo_x86 { ...@@ -129,14 +129,16 @@ struct cpuinfo_x86 {
u16 logical_proc_id; u16 logical_proc_id;
/* Core id: */ /* Core id: */
u16 cpu_core_id; u16 cpu_core_id;
u16 cpu_die_id;
u16 logical_die_id;
/* Index into per_cpu list: */ /* Index into per_cpu list: */
u16 cpu_index; u16 cpu_index;
u32 microcode; u32 microcode;
/* Address space bits used by the cache internally */ /* Address space bits used by the cache internally */
u8 x86_cache_bits; u8 x86_cache_bits;
unsigned initialized : 1; unsigned initialized : 1;
#ifndef __GENKSYMS__
u16 cpu_die_id;
u16 logical_die_id;
#endif
} __randomize_layout; } __randomize_layout;
struct cpuid_regs { struct cpuid_regs {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册