PAT flags are not under control of Xen domains currently, so there is no

point in enabling them.

Avoids:
- a warning logged by hypervisor when a domain attempts to modify the PAT
MSR.
- an error during domain resuming, where a PAT flag has been set on a page
while the hypervisor does not allow it.

ok releng@.
This commit is contained in:
jym 2012-02-13 23:54:58 +00:00
parent 5ba1d99f10
commit b3430e5626
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.79 2012/01/28 12:15:19 cherry Exp $ */
/* $NetBSD: cpu.c,v 1.80 2012/02/13 23:54:58 jym 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.79 2012/01/28 12:15:19 cherry Exp $");
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.80 2012/02/13 23:54:58 jym Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@ -532,7 +532,6 @@ cpu_attach_common(device_t parent, device_t self, void *aux)
panic("unknown processor type??\n");
}
pat_init(ci);
atomic_or_32(&cpus_attached, ci->ci_cpumask);
#ifdef MPVERBOSE