x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP.
authorKeir Fraser <keir@xensource.com>
Tue, 16 Oct 2007 16:40:22 +0000 (17:40 +0100)
committerKeir Fraser <keir@xensource.com>
Tue, 16 Oct 2007 16:40:22 +0000 (17:40 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/cpu/common.c

index c333ac36f2e724888fb5ee270e62d66e6a69e53c..a578a7b108fe6224d3071f138405516ef305dc42 100644 (file)
@@ -314,6 +314,7 @@ void __devinit identify_cpu(struct cpuinfo_x86 *c)
        c->x86_vendor_id[0] = '\0'; /* Unset */
        c->x86_model_id[0] = '\0';  /* Unset */
        c->x86_max_cores = 1;
+       c->invlpg_works_ok = 1; /* no superpage INVLPG by default */
        c->x86_clflush_size = 0;
        memset(&c->x86_capability, 0, sizeof c->x86_capability);