]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/gpu: Sprinkle const, __init and __initconst to stolen memory quirks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 8 May 2014 19:19:42 +0000 (22:19 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 May 2014 12:13:23 +0000 (14:13 +0200)
commit36dfcea47a862421154e9943ada5f8147bcbd43c
tree15937cd978079319e99aa65a267bc581a95455d6
parent3e3b2c39081c7f22f300da89b6e922a4dd2899d3
x86/gpu: Sprinkle const, __init and __initconst to stolen memory quirks

gen8_stolen_size() is missing __init, so add it.

Also all the intel_stolen_funcs structures can be marked
__initconst.

intel_stolen_ids[] can also be made const if we replace the
__initdata with __initconst.

Cc: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
arch/x86/kernel/early-quirks.c