x86/Sandy Bridge: mark arrays in __init functions as __initconst
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jan 2013 04:36:39 +0000 (20:36 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jan 2013 04:36:39 +0000 (20:36 -0800)
commitab3cd8670e0b3fcde7f029e1503ed3c5138e9571
tree188b16e6509c8732cccbdeda2ffbbc6c36fa74b0
parenta9acc5365dbda29f7be2884efb63771dc24bd815
x86/Sandy Bridge: mark arrays in __init functions as __initconst

Mark static arrays as __initconst so they get removed when the init
sections are flushed.

Reported-by: Mathias Krause <minipli@googlemail.com>
Link: http://lkml.kernel.org/r/75F4BEE6-CB0E-4426-B40B-697451677738@googlemail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/setup.c