diff options
Diffstat (limited to 'arch/x86/mm/init.c')
| -rw-r--r-- | arch/x86/mm/init.c | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index cb258f58fdc8..3cdac0f0055d 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -806,7 +806,7 @@ void __init poking_init(void)  	BUG_ON(!poking_mm);  	/* Xen PV guests need the PGD to be pinned. */ -	paravirt_arch_dup_mmap(NULL, poking_mm); +	paravirt_enter_mmap(poking_mm);  	/*  	 * Randomize the poking address, but make sure that the following page @@ -1048,6 +1048,11 @@ __visible DEFINE_PER_CPU_ALIGNED(struct tlb_state, cpu_tlbstate) = {  	.cr4 = ~0UL,	/* fail hard if we screw up cr4 shadow initialization */  }; +#ifdef CONFIG_ADDRESS_MASKING +DEFINE_PER_CPU(u64, tlbstate_untag_mask); +EXPORT_PER_CPU_SYMBOL(tlbstate_untag_mask); +#endif +  void update_cache_mode_entry(unsigned entry, enum page_cache_mode cache)  {  	/* entry 0 MUST be WB (hardwired to speed up translations) */ | 
