x86/traps: Move early pagefault static data into __initdata
PATCH 1/1 x86/traps: Move early pagefault static data into __initdata
Signed-off-by Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
--- xen/arch/x86/traps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/x86/traps.c +2 -2
@@ -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