x86/traps: move early pagefault static data into __initdata
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Jul 2015 09:36:55 +0000 (11:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2015 09:36:55 +0000 (11:36 +0200)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c

index ac168e45265668e34fa6c87e75216a1f280142ef..eceff8e0126f6a10824387698aa5d6bc83292d3a 100644 (file)
@@ -1552,8 +1552,8 @@ void do_page_fault(struct cpu_user_regs *regs)
  */
 void __init do_early_page_fault(struct cpu_user_regs *regs)
 {
-    static int stuck;
-    static unsigned long prev_eip, prev_cr2;
+    static unsigned int __initdata stuck;
+    static unsigned long __initdata prev_eip, prev_cr2;
     unsigned long cr2 = read_cr2();
 
     BUG_ON(smp_processor_id() != 0);