x86/idt: Mark IDT tables __initconst
authorAndi Kleen <ak@linux.intel.com>
Fri, 22 Dec 2017 00:18:21 +0000 (16:18 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 14 Jan 2018 19:09:45 +0000 (20:09 +0100)
commit327867faa4d66628fcd92a843adb3345736a5313
tree5e990413bcb7274d2a3ef07a2779d91d8dde5397
parentfc90ccfd286eabb05ec54521367df8663cf0bbbf
x86/idt: Mark IDT tables __initconst

const variables must use __initconst, not __initdata.

Fix this up for the IDT tables, which got it consistently wrong.

Fixes: 16bc18d895ce ("x86/idt: Move 32-bit idt_descr to C code")
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/20171222001821.2157-7-andi@firstfloor.org
arch/x86/kernel/idt.c