x86/cpu/bugs: Use __initconst for 'const' init data
authorAndi Kleen <ak@linux.intel.com>
Sat, 30 Mar 2019 00:47:43 +0000 (17:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 May 2019 17:19:42 +0000 (19:19 +0200)
commit192d1975450e51c1abb725343a7e19a4d61e30bd
treefa950d8cfa7e118fa9337f0c04622e6221e5971f
parent626743f43da44598076019a82193caf49dca1fde
x86/cpu/bugs: Use __initconst for 'const' init data

commit 1de7edbb59c8f1b46071f66c5c97b8a59569eb51 upstream.

Some of the recently added const tables use __initdata which causes section
attribute conflicts.

Use __initconst instead.

Fixes: fa1202ef2243 ("x86/speculation: Add command line control")
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190330004743.29541-9-andi@firstfloor.org
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c