x86: Fix section conflict for numachip
authorAndi Kleen <andi@firstfloor.org>
Wed, 24 Sep 2014 04:32:19 +0000 (06:32 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 8 Oct 2014 09:18:49 +0000 (11:18 +0200)
commit2dee5c43da3a981489a4f18972827139afcbee82
tree50c12064c39433b5b57c90636fcc95d11c1701f2
parent0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1
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: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1411533139-25708-1-git-send-email-andi@firstfloor.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/apic_numachip.c