| Submitter | Herton Ronaldo Krzesinski |
|---|---|
| Date | Feb. 5, 2013, 10:07 p.m. |
| Message ID | <1360102042-10732-79-git-send-email-herton.krzesinski@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/218438/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 36cf7fa..8ac6c8a 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -617,7 +617,7 @@ static bool __init snb_gfx_workaround_needed(void) { int i; u16 vendor, devid; - static const u16 snb_ids[] = { + static const __initconst u16 snb_ids[] = { 0x0102, 0x0112, 0x0122, @@ -649,7 +649,7 @@ static bool __init snb_gfx_workaround_needed(void) */ static void __init trim_snb_memory(void) { - static const unsigned long bad_pages[] = { + static const __initconst unsigned long bad_pages[] = { 0x20050000, 0x20110000, 0x20130000,