From: Andrew Cooper Subject: [PATCH] x86/traps: Move early pagefault static data into __initdata Date: Tue, 30 Jun 2015 11:13:49 +0100 Message-ID: <1435659229-14458-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Andrew Cooper , Jan Beulich List-Id: xen-devel@lists.xenproject.org Signed-off-by: Andrew Cooper CC: Jan Beulich --- xen/arch/x86/traps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index ac62f20..7a5d911 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -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); -- 1.7.10.4