summaryrefslogtreecommitdiff
path: root/arch/um/include/asm/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/asm/page.h')
-rw-r--r--arch/um/include/asm/page.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/asm/page.h b/arch/um/include/asm/page.h
index cdbd9653aa14..84866127d074 100644
--- a/arch/um/include/asm/page.h
+++ b/arch/um/include/asm/page.h
@@ -108,7 +108,6 @@ extern unsigned long uml_physmem;
#define phys_to_pfn(p) ((p) >> PAGE_SHIFT)
#define pfn_to_phys(pfn) PFN_PHYS(pfn)
-#define pfn_valid(pfn) ((pfn) < max_mapnr)
#define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v)))
#include <asm-generic/memory_model.h>