summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-au1x00
diff options
context:
space:
mode:
authorPete Popov <ppopov@embeddedalley.com>2005-07-14 02:17:05 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:31:50 +0200
commitf10fae02403fb8af141b0a440074a944ccd63504 (patch)
treea401c82cc2692955faa284111bef23ece0980147 /include/asm-mips/mach-au1x00
parentRemoved __ilog2 since it's no longer needed and conflicts with the (diff)
downloadlinux-f10fae02403fb8af141b0a440074a944ccd63504.tar.xz
linux-f10fae02403fb8af141b0a440074a944ccd63504.zip
Fix the fixup_bigphys_addr compile problem.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-au1x00')
-rw-r--r--include/asm-mips/mach-au1x00/ioremap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-mips/mach-au1x00/ioremap.h b/include/asm-mips/mach-au1x00/ioremap.h
index f1c8c1087115..d3ec6274575a 100644
--- a/include/asm-mips/mach-au1x00/ioremap.h
+++ b/include/asm-mips/mach-au1x00/ioremap.h
@@ -12,7 +12,9 @@
#include <linux/config.h>
#include <linux/types.h>
-#ifndef CONFIG_64BIT_PHYS_ADDR
+#ifdef CONFIG_64BIT_PHYS_ADDR
+extern phys_t __fixup_bigphys_addr(phys_t, phys_t);
+#else
static inline phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size)
{
return phys_addr;