xen: mask extended topology info in cpuid
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Oct 2009 23:41:15 +0000 (16:41 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 3 Nov 2009 19:09:12 +0000 (11:09 -0800)
commit82d6469916c6fcfa345636a49004c9d1753905d1
treef4d95a9159234b66d26e4e8ebe661e105929234b
parent7825cf10e31c64ece3cac66fb01a742f1094da51
xen: mask extended topology info in cpuid

A Xen guest never needs to know about extended topology, and knowing
would just confuse it.

This patch just zeros ebx in leaf 0xb which indicates no topology info,
preventing a crash under Xen on cpus which support this leaf.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
arch/x86/xen/enlighten.c