projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
842b395
)
x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP.
author
Keir Fraser
<keir@xensource.com>
Tue, 16 Oct 2007 16:40:22 +0000
(17:40 +0100)
committer
Keir 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
patch
|
blob
|
history
diff --git
a/xen/arch/x86/cpu/common.c
b/xen/arch/x86/cpu/common.c
index c333ac36f2e724888fb5ee270e62d66e6a69e53c..a578a7b108fe6224d3071f138405516ef305dc42 100644
(file)
--- a/
xen/arch/x86/cpu/common.c
+++ b/
xen/arch/x86/cpu/common.c
@@
-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);