x86/idt: Mark IDT tables __initconst
authorAndi Kleen <ak@linux.intel.com>
Fri, 22 Dec 2017 00:18:21 +0000 (16:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 18:58:14 +0000 (19:58 +0100)
commitad2d62036bd00a55dfd9f76cf822213fd07c0e30
tree9fa6f578d0894e61a246ce461fcd5c370308c834
parent239f28886dffc4fe0481889eb78df1126c8a84f2
x86/idt: Mark IDT tables __initconst

commit 327867faa4d66628fcd92a843adb3345736a5313 upstream.

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>
Link: https://lkml.kernel.org/r/20171222001821.2157-7-andi@firstfloor.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/idt.c