Skip to content

Commit 3ac876e

Browse files
jgross1bostrovs
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent ee1f9d1 commit 3ac876e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

arch/x86/xen/enlighten_pv.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include <linux/export.h>
2828
#include <linux/mm.h>
2929
#include <linux/page-flags.h>
30-
#include <linux/highmem.h>
3130
#include <linux/pci.h>
3231
#include <linux/gfp.h>
3332
#include <linux/edd.h>
@@ -1229,12 +1228,6 @@ asmlinkage __visible void __init xen_start_kernel(void)
12291228
__supported_pte_mask &= ~_PAGE_GLOBAL;
12301229
__default_kernel_pte_mask &= ~_PAGE_GLOBAL;
12311230

1232-
/*
1233-
* Prevent page tables from being allocated in highmem, even
1234-
* if CONFIG_HIGHPTE is enabled.
1235-
*/
1236-
__userpte_alloc_gfp &= ~__GFP_HIGHMEM;
1237-
12381231
/* Get mfn list */
12391232
xen_build_dynamic_phys_to_machine();
12401233

arch/x86/xen/mmu_pv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
* Jeremy Fitzhardinge <[email protected]>, XenSource Inc, 2007
4242
*/
4343
#include <linux/sched/mm.h>
44-
#include <linux/highmem.h>
4544
#include <linux/debugfs.h>
4645
#include <linux/bug.h>
4746
#include <linux/vmalloc.h>

0 commit comments

Comments
 (0)