From: Juergen Gross Date: Thu, 28 Oct 2021 08:12:20 +0000 (+0200) Subject: xen: remove highmem remnants X-Git-Tag: v5.16-rc1~68^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ac876e8b5fc6561c15031b5a56ff1f2e4fa0e5f;p=thirdparty%2Fkernel%2Flinux.git xen: remove highmem remnants There are some references to highmem left in Xen pv specific code which can be removed. Signed-off-by: Juergen Gross Link: https://lore.kernel.org/r/20211028081221.2475-4-jgross@suse.com Reviewed-by: Boris Ostrovsky Signed-off-by: Boris Ostrovsky --- diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c index 3123496732156..5004feb16783d 100644 --- a/arch/x86/xen/enlighten_pv.c +++ b/arch/x86/xen/enlighten_pv.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include @@ -1229,12 +1228,6 @@ asmlinkage __visible void __init xen_start_kernel(void) __supported_pte_mask &= ~_PAGE_GLOBAL; __default_kernel_pte_mask &= ~_PAGE_GLOBAL; - /* - * Prevent page tables from being allocated in highmem, even - * if CONFIG_HIGHPTE is enabled. - */ - __userpte_alloc_gfp &= ~__GFP_HIGHMEM; - /* Get mfn list */ xen_build_dynamic_phys_to_machine(); diff --git a/arch/x86/xen/mmu_pv.c b/arch/x86/xen/mmu_pv.c index 325a679108550..dee8da28bf9b6 100644 --- a/arch/x86/xen/mmu_pv.c +++ b/arch/x86/xen/mmu_pv.c @@ -41,7 +41,6 @@ * Jeremy Fitzhardinge , XenSource Inc, 2007 */ #include -#include #include #include #include