summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24a0/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-12-12 15:53:08 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-12-13 17:33:19 +0100
commitc7baab5d1e97437a2fca63b71d467f193dbebb02 (patch)
tree227c8a1ffb2465035c1fd4466301d1bf5617892a /arch/arm/mach-s3c24a0/include
parentARM: VFP: fix vfp thread init bug and document vfp notifier entry conditions (diff)
downloadlinux-c7baab5d1e97437a2fca63b71d467f193dbebb02.tar.xz
linux-c7baab5d1e97437a2fca63b71d467f193dbebb02.zip
ARM: fix clps711x, footbridge, integrator, ixp2000, ixp2300 and s3c build bug
Anders Grafström reports that footbridge fails to build after 1c4a4f4. Fix this by adding the necessary definitions for __pfn_to_bus and __bus_to_pfn. Reported-by: Anders Grafström <anders.grafstrom@netinsight.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c24a0/include')
-rw-r--r--arch/arm/mach-s3c24a0/include/mach/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24a0/include/mach/memory.h b/arch/arm/mach-s3c24a0/include/mach/memory.h
index 585211ca0187..7d74fd5c8d66 100644
--- a/arch/arm/mach-s3c24a0/include/mach/memory.h
+++ b/arch/arm/mach-s3c24a0/include/mach/memory.h
@@ -15,5 +15,7 @@
#define __virt_to_bus(x) __virt_to_phys(x)
#define __bus_to_virt(x) __phys_to_virt(x)
+#define __pfn_to_bus(x) __pfn_to_phys(x)
+#define __bus_to_pfn(x) __phys_to_pfn(x)
#endif