Module Name:    src
Committed By:   cegger
Date:           Tue Sep 22 13:59:42 UTC 2009

Modified Files:
        src/sys/arch/xen/x86: cpu.c

Log Message:
fix botch with merging in changes from x86/x86/cpu.c:

don't use wbinvd(). Xen flushes the cache for us.
This makes DomU boot again.
Spotted by bou...@.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/xen/x86/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/xen/x86/cpu.c
diff -u src/sys/arch/xen/x86/cpu.c:1.34 src/sys/arch/xen/x86/cpu.c:1.35
--- src/sys/arch/xen/x86/cpu.c:1.34	Thu Jul 30 13:56:57 2009
+++ src/sys/arch/xen/x86/cpu.c	Tue Sep 22 13:59:42 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.c,v 1.34 2009/07/30 13:56:57 cegger Exp $	*/
+/*	$NetBSD: cpu.c,v 1.35 2009/09/22 13:59:42 cegger Exp $	*/
 /* NetBSD: cpu.c,v 1.18 2004/02/20 17:35:01 yamt Exp  */
 
 /*-
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.34 2009/07/30 13:56:57 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.35 2009/09/22 13:59:42 cegger Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -565,8 +565,6 @@
 	}
 
 	atomic_or_32(&cpus_running, ci->ci_cpumask);
-
-	wbinvd();
 	atomic_or_32(&ci->ci_flags, CPUF_RUNNING);
 }
 

Reply via email to