diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/xen/enlighten.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 35ddaf50180a..f6876485ee7d 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -648,8 +648,10 @@ static unsigned long xen_read_cr2_direct(void) | |||
648 | 648 | ||
649 | static void xen_write_cr4(unsigned long cr4) | 649 | static void xen_write_cr4(unsigned long cr4) |
650 | { | 650 | { |
651 | /* Just ignore cr4 changes; Xen doesn't allow us to do | 651 | cr4 &= ~X86_CR4_PGE; |
652 | anything anyway. */ | 652 | cr4 &= ~X86_CR4_PSE; |
653 | |||
654 | native_write_cr4(cr4); | ||
653 | } | 655 | } |
654 | 656 | ||
655 | static unsigned long xen_read_cr3(void) | 657 | static unsigned long xen_read_cr3(void) |