summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r
diff options
context:
space:
mode:
authorDave Hansen <haveblue@us.ibm.com>2005-10-30 02:16:49 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 05:40:44 +0100
commit2774812f417db562f0d659d2c1b5755ba35d2770 (patch)
treeb277d15f7165753539fe141df44c7805e1227d4d /include/asm-m32r
parent[PATCH] .text page fault SMP scalability optimization (diff)
downloadlinux-2774812f417db562f0d659d2c1b5755ba35d2770.tar.xz
linux-2774812f417db562f0d659d2c1b5755ba35d2770.zip
[PATCH] memory hotplug prep: kill local_mapnr
The following series implements memory hot-add for ppc64 and i386. There are x86_64 and ia64 implementations that will be submitted shortly as well, through the normal maintainers. This patch: local_mapnr is unused, except for in an alpha header. Keep the alpha one, kill the rest. Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m32r')
-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 d58878ec899e..adc7970a77ec 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; \