[PATCH] x86: Fix section conflict for numachip

2014-09-23 Thread Andi Kleen
From: Andi Kleen 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 --- arch/x86/kernel/apic/apic_numachip.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] x86: Fix section conflict for numachip

2014-09-23 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com 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 a...@linux.intel.com --- arch/x86/kernel/apic/apic_numachip.c | 2 +-