WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] fix 19400 was RE: C/S 19400 breaks 32-bit build

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] fix 19400 was RE: C/S 19400 breaks 32-bit build
From: "Lu, Guanqun" <guanqun.lu@xxxxxxxxx>
Date: Fri, 20 Mar 2009 14:46:39 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Thu, 19 Mar 2009 23:47:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EADF0A36011179459010BDF5142A45750F82678E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200903191710.n2JHAOB1017068@xxxxxxxxxxxxxxxxxxxxx> <EADF0A36011179459010BDF5142A45750F82678E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmotcgSK+sy8rFqSRS0iexOVeKdpAAXGdiwAAVUYVA=
Thread-topic: [PATCH] fix 19400 was RE: C/S 19400 breaks 32-bit build
diff -r e1562a36094e xen/arch/x86/acpi/suspend.c
--- a/xen/arch/x86/acpi/suspend.c   Thu Mar 19 17:04:06 2009 +0000
+++ b/xen/arch/x86/acpi/suspend.c   Fri Mar 20 13:27:17 2009 +0800
@@ -32,6 +32,9 @@ void restore_rest_processor_state(void)
 void restore_rest_processor_state(void)
 {
    struct vcpu *v = current;
+#if !defined(CONFIG_X86_64)
+    struct tss_struct *t = &init_tss[smp_processor_id()];
+#endif

    load_TR();




On Friday, March 20, 2009 12:17 PM Cui, Dexuan wrote:

> e.g.,
> void restore_rest_processor_state(void)
> {
> ...
> #else /* !defined(CONFIG_X86_64) */
>     if ( supervisor_mode_kernel && cpu_has_sep )
>         wrmsr(MSR_IA32_SYSENTER_ESP, &t->esp1, 0);       ========>  t
> is not defined previously. #endif
> 
> Thanks,
> -- Dexuan
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



-- 
Guanqun
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>