diff options
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 8e6152e6ed88..73fb0c4c150a 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1280,6 +1280,11 @@ asmlinkage void __init xen_start_kernel(void) | |||
1280 | if (xen_feature(XENFEAT_supervisor_mode_kernel)) | 1280 | if (xen_feature(XENFEAT_supervisor_mode_kernel)) |
1281 | pv_info.kernel_rpl = 0; | 1281 | pv_info.kernel_rpl = 0; |
1282 | 1282 | ||
1283 | /* Prevent unwanted bits from being set in PTEs. */ | ||
1284 | __supported_pte_mask &= ~_PAGE_GLOBAL; | ||
1285 | if (!is_initial_xendomain()) | ||
1286 | __supported_pte_mask &= ~(_PAGE_PWT | _PAGE_PCD); | ||
1287 | |||
1283 | /* set the limit of our address space */ | 1288 | /* set the limit of our address space */ |
1284 | xen_reserve_top(); | 1289 | xen_reserve_top(); |
1285 | 1290 | ||