summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/mmzone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m32r/mmzone.h')
-rw-r--r--include/asm-m32r/mmzone.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-m32r/mmzone.h b/include/asm-m32r/mmzone.h
index d58878e..adc7970 100644
--- a/include/asm-m32r/mmzone.h
+++ b/include/asm-m32r/mmzone.h
@@ -21,12 +21,6 @@ extern struct pglist_data *node_data[];
__pgdat->node_start_pfn + __pgdat->node_spanned_pages - 1; \
})
-#define local_mapnr(kvaddr) \
-({ \
- unsigned long __pfn = __pa(kvaddr) >> PAGE_SHIFT; \
- (__pfn - node_start_pfn(pfn_to_nid(__pfn))); \
-})
-
#define pfn_to_page(pfn) \
({ \
unsigned long __pfn = pfn; \
OpenPOWER on IntegriCloud