Skip to contentSkip to conversation

x86/traps: Move early pagefault static data into __initdata

PATCH New Andrew Cooper 1 participant 1 message Jun 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/traps: Move early pagefault static data into __initdata

---
 xen/arch/x86/traps.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/x86/traps.c +2 -2
index ac62f20..7a5d911 100644
@@ -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);
Signature · 1 line
1.7.10.4