Module Name: src
Committed By: bouyer
Date: Sat Feb 1 20:07:07 UTC 2014
Modified Files:
src/sys/arch/xen/xen: hypervisor.c
Log Message:
Revert previous: calling fpuinit() leads to a panic, as a domU is not
allowed to manipulate cr0 directly. Xen doesn't need this, the fpu is
handled by the hypervisor.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/xen/xen/hypervisor.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/xen/hypervisor.c
diff -u src/sys/arch/xen/xen/hypervisor.c:1.64 src/sys/arch/xen/xen/hypervisor.c:1.65
--- src/sys/arch/xen/xen/hypervisor.c:1.64 Sat Feb 1 17:48:04 2014
+++ src/sys/arch/xen/xen/hypervisor.c Sat Feb 1 20:07:07 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: hypervisor.c,v 1.64 2014/02/01 17:48:04 dsl Exp $ */
+/* $NetBSD: hypervisor.c,v 1.65 2014/02/01 20:07:07 bouyer Exp $ */
/*
* Copyright (c) 2005 Manuel Bouyer.
@@ -53,7 +53,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.64 2014/02/01 17:48:04 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.65 2014/02/01 20:07:07 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -256,7 +256,6 @@ hypervisor_attach(device_t parent, devic
hac.hac_xencons.xa_device = "xencons";
config_found_ia(self, "xendevbus", &hac.hac_xencons, hypervisor_print);
#endif
- fpuinit(&cpu_info_primary);
#ifdef DOM0OPS
#if NPCI > 0
#if NACPICA > 0