[Oneiric SRU] Revert "UBUNTU: SAUCE: fix pv-ops for legacy Xen"
stefan.bader at canonical.com
Fri Sep 21 15:28:02 UTC 2012
This reverts commit 3f3fba59aa5773836d94799d10b692f9b7ea16a0.
It turned out that since 2.6.39 the Xen code in the kernel would
not try to set OSXSAVE in CR4 to find out whether the feature is
supported. Instead it relies on OSXSAVE being set by the HV in
the cpuid bits (which will only happen if supported).
Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
arch/x86/xen/enlighten.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 45c27dd..f70bb3d 100644
@@ -818,7 +818,6 @@ static void xen_write_cr4(unsigned long cr4)
cr4 &= ~X86_CR4_PGE;
cr4 &= ~X86_CR4_PSE;
- cr4 &= ~X86_CR4_OSXSAVE;
More information about the kernel-team