From 92b21522e95de2baab858ec8820ffff9faad5903 Mon Sep 17 00:00:00 2001 From: rmind Date: Sat, 21 Nov 2009 15:38:43 +0000 Subject: [PATCH] Missed fix for Xen builds. --- sys/arch/i386/i386/machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 974b0df23b6d..212ae40599ea 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.674 2009/11/21 03:11:00 rmind Exp $ */ +/* $NetBSD: machdep.c,v 1.675 2009/11/21 15:38:43 rmind Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008, 2009 @@ -67,7 +67,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.674 2009/11/21 03:11:00 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.675 2009/11/21 15:38:43 rmind Exp $"); #include "opt_beep.h" #include "opt_compat_ibcs2.h" @@ -1320,7 +1320,7 @@ init386(paddr_t first_avail) #ifdef XEN /* not on Xen... */ cpu_feature &= ~(CPUID_PGE|CPUID_PSE|CPUID_MTRR|CPUID_FXSR|CPUID_NOX); - pcb->u_pcb.pcb_cr3 = PDPpaddr - KERNBASE; + pcb->pcb_cr3 = PDPpaddr - KERNBASE; __PRINTK(("pcb_cr3 0x%lx cr3 0x%lx\n", PDPpaddr - KERNBASE, xpmap_ptom(PDPpaddr - KERNBASE))); XENPRINTK(("proc0 pcb %p first_avail %p\n",