]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 19 Apr 2019 15:11:39 +0000 (17:11 +0200)
commit36d0dc54f44c70acdc59f558c99939ad7302f4db
treedc0d78cbe215054fd8b3d08f9ff429d411cb4f30
parent01d4cd1573065e63f9561a00fc4b2c7fb055ad2b
x86/cpu/bugs: Use __initconst for 'const' init data

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

Use __initconst instead.

Fixes: 9d3453249d3e ("x86/speculation: Add command line control")
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20190330004743.29541-9-andi@firstfloor.org
arch/x86/kernel/cpu/bugs.c