Commit 2dee5c43 authored by Andi Kleen's avatar Andi Kleen Committed by 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: default avatarAndi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1411533139-25708-1-git-send-email-andi@firstfloor.orgSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment