summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-aaec2000
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-09-15 12:30:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-15 12:30:11 +0100
commitfea2efe3bba15f0aa8f840fbe052699808187cb6 (patch)
treea2531cec2b7d6b8f1ae644a18eed9086510c93e4 /include/asm-arm/arch-aaec2000
parent1619cca2921f6927f4240e03f413d4165c7002fc (diff)
downloadlinux-fea2efe3bba15f0aa8f840fbe052699808187cb6.tar.gz
linux-fea2efe3bba15f0aa8f840fbe052699808187cb6.tar.bz2
linux-fea2efe3bba15f0aa8f840fbe052699808187cb6.zip
[ARM] Remove PFN_TO_NID for !DISCONTIGMEM
Platform classes need not define PFN_TO_NID when DISCONTIGMEM is not selected. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-aaec2000')
-rw-r--r--include/asm-arm/arch-aaec2000/memory.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-arm/arch-aaec2000/memory.h b/include/asm-arm/arch-aaec2000/memory.h
index 681b6a6171a1..79c90813bc3e 100644
--- a/include/asm-arm/arch-aaec2000/memory.h
+++ b/include/asm-arm/arch-aaec2000/memory.h
@@ -64,10 +64,6 @@
#define NODE_MAX_MEM_SHIFT 26
#define NODE_MAX_MEM_SIZE (1 << NODE_MAX_MEM_SHIFT)
-#else
-
-#define PFN_TO_NID(addr) (0)
-
#endif /* CONFIG_DISCONTIGMEM */
#endif /* __ASM_ARCH_MEMORY_H */