]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-mips/mach-au1x00/ioremap.h
Fix the fixup_bigphys_addr compile problem.
[karo-tx-linux.git] / include / asm-mips / mach-au1x00 / ioremap.h
index f1c8c108711564fde6319c6bcdbfccb05d3916d4..d3ec6274575a74d01492de292b484011a6033402 100644 (file)
@@ -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;