summaryrefslogtreecommitdiff
path: root/arch/um/kernel/mem.c
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2024-09-16 12:59:49 +0800
committerJohannes Berg <johannes.berg@intel.com>2024-10-10 12:02:13 +0200
commitcd05cbed42b73168b0772b83bc24769fea3871bf (patch)
treef4a16ce3bd876e650a983f9abd6e6b7830bbc59c /arch/um/kernel/mem.c
parenta98b7761f697e590ed5d610d87fa12be66f23419 (diff)
downloadlinux-cd05cbed42b73168b0772b83bc24769fea3871bf.tar.gz
linux-cd05cbed42b73168b0772b83bc24769fea3871bf.tar.bz2
linux-cd05cbed42b73168b0772b83bc24769fea3871bf.zip
um: Remove highmem leftovers
Highmem was only supported on UML/i386. And the support has been removed by commit a98a6d864d3b ("um: Remove broken highmem support"). Remove the leftovers and stop UML from trying to setup highmem when the sum of physmem_size and iomem_size exceeds max_physmem. Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20240916045950.508910-4-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/kernel/mem.c')
-rw-r--r--arch/um/kernel/mem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c
index a5b4fe2ad931..5026668dc054 100644
--- a/arch/um/kernel/mem.c
+++ b/arch/um/kernel/mem.c
@@ -6,7 +6,6 @@
#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/memblock.h>
-#include <linux/highmem.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/slab.h>
@@ -51,8 +50,6 @@ EXPORT_SYMBOL(empty_zero_page);
pgd_t swapper_pg_dir[PTRS_PER_PGD];
/* Initialized at boot time, and readonly after that */
-unsigned long long highmem;
-EXPORT_SYMBOL(highmem);
int kmalloc_ok = 0;
/* Used during early boot */