Fix Xen build with some versions of gcc.
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Fri, 2 Jun 2006 16:54:55 +0000 (17:54 +0100)
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Fri, 2 Jun 2006 16:54:55 +0000 (17:54 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/domain.c

index e8b2d647a766cee6668b70f4b64cf7f88bff5597..7c6297b917458c289ebdf86b8e0aee86a4af0d97 100644 (file)
@@ -259,7 +259,7 @@ int arch_set_info_guest(
     struct vcpu *v, struct vcpu_guest_context *c)
 {
     struct domain *d = v->domain;
-    unsigned long cr3_pfn;
+    unsigned long cr3_pfn = INVALID_MFN;
     int i, rc;
 
     if ( !(c->flags & VGCF_HVM_GUEST) )