diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index 079c3b6a3ff181277a7cb4270895f27d9a1d6f8b..090499a363cb3274c4d41ebd45c3d1bc8c73b572 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -179,7 +179,8 @@ static void __init probe_page_size_mask(void) if (cpu_has_pge) { set_in_cr4(X86_CR4_PGE); __supported_pte_mask |= _PAGE_GLOBAL; - } + } else + __supported_pte_mask &= ~_PAGE_GLOBAL; } #ifdef CONFIG_X86_32