ia64/xen-unstable

changeset 16140:b6ff4859b3d4

x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP.
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Tue Oct 16 17:40:22 2007 +0100 (2007-10-16)
parents 96930bc060a6
children a38a2fdb4f1b
files xen/arch/x86/cpu/common.c
line diff
     1.1 --- a/xen/arch/x86/cpu/common.c	Tue Oct 16 17:36:28 2007 +0100
     1.2 +++ b/xen/arch/x86/cpu/common.c	Tue Oct 16 17:40:22 2007 +0100
     1.3 @@ -314,6 +314,7 @@ void __devinit identify_cpu(struct cpuin
     1.4  	c->x86_vendor_id[0] = '\0'; /* Unset */
     1.5  	c->x86_model_id[0] = '\0';  /* Unset */
     1.6  	c->x86_max_cores = 1;
     1.7 +	c->invlpg_works_ok = 1; /* no superpage INVLPG by default */
     1.8  	c->x86_clflush_size = 0;
     1.9  	memset(&c->x86_capability, 0, sizeof c->x86_capability);
    1.10