提交 2dee5c43 编写于 作者: A Andi Kleen 提交者: Thomas Gleixner

x86: Fix section conflict for numachip

A variable cannot be both __read_mostly and const. This
is a meaningless combination.

Just make it only const.

This fixes the LTO build with numachip enabled.
Signed-off-by: NAndi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1411533139-25708-1-git-send-email-andi@firstfloor.orgSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 0e6d3112
......@@ -32,7 +32,7 @@
static int numachip_system __read_mostly;
static const struct apic apic_numachip __read_mostly;
static const struct apic apic_numachip;
static unsigned int get_apic_id(unsigned long x)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册