summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-lh7a40x
diff options
context:
space:
mode:
authorRussell King2005-09-15 13:30:11 +0200
committerRussell King2005-09-15 13:30:11 +0200
commitfea2efe3bba15f0aa8f840fbe052699808187cb6 (patch)
treea2531cec2b7d6b8f1ae644a18eed9086510c93e4 /include/asm-arm/arch-lh7a40x
parentPartially revert "Fix time going twice as fast problem on ATI Xpress chipsets" (diff)
downloadkernel-qcow2-linux-fea2efe3bba15f0aa8f840fbe052699808187cb6.tar.gz
kernel-qcow2-linux-fea2efe3bba15f0aa8f840fbe052699808187cb6.tar.xz
kernel-qcow2-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-lh7a40x')
-rw-r--r--include/asm-arm/arch-lh7a40x/memory.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-arm/arch-lh7a40x/memory.h b/include/asm-arm/arch-lh7a40x/memory.h
index 7e2fea372663..c650e6feb9d5 100644
--- a/include/asm-arm/arch-lh7a40x/memory.h
+++ b/include/asm-arm/arch-lh7a40x/memory.h
@@ -85,10 +85,6 @@
(((unsigned long)(addr) & 0x01ffffff) >> PAGE_SHIFT)
# endif
-#else
-
-# define PFN_TO_NID(addr) (0)
-
#endif
#endif