xen: mask the MTRR feature from the cpuid
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 28 Sep 2010 15:45:51 +0000 (16:45 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 22 Oct 2010 20:26:02 +0000 (21:26 +0100)
commitff12849a7a187e17fcbd888b39850d22103395c6
treeba7276b8c6afbee0d0a9add10131b55d7444fd98
parent4fe7d5a708a955b35e3fdc4dea3e0b7a6ae2eb06
xen: mask the MTRR feature from the cpuid

We don't want Linux to think that the cpu supports MTRRs when running
under Xen because MTRR operations could only be performed through
hypercalls.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/enlighten.c