phys_addr_t is not defined on ARM systems if kernel version < 2.6.25. Signed-off-by: Patrick Ziegler <patrick.ziegler@xxxxxxxx> --- backport/backport-include/linux/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backport/backport-include/linux/types.h b/backport/backport-include/linux/types.h index 504a615..0aadc80 100644 --- a/backport/backport-include/linux/types.h +++ b/backport/backport-include/linux/types.h @@ -4,7 +4,7 @@ #include <linux/version.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) -#if defined(CONFIG_X86) || defined(CONFIG_X86_64) +#if defined(CONFIG_X86) || defined(CONFIG_X86_64) || defined(CONFIG_ARM) #if defined(CONFIG_64BIT) || defined(CONFIG_X86_PAE) || defined(CONFIG_PHYS_64BIT) typedef u64 phys_addr_t; @@ -12,7 +12,7 @@ typedef u64 phys_addr_t; typedef u32 phys_addr_t; #endif -#endif /* x86 */ +#endif /* x86 || ARM */ #elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) /* < 2.6.25 */ #if defined(CONFIG_X86) || defined(CONFIG_X86_64) || defined(CONFIG_PPC) -- 1.8.1.2 -- Dipl.-Inf. (FH) Patrick Ziegler University Of Applied Sciences Kaiserslautern Amerikastrasse 1 D-66482 Zweibruecken Germany Phone: +49 631 3724 5526 Mail: patrick.ziegler@xxxxxxxx PGP KeyID 0xB4796B8C http://www.fh-kl.de http://www.fh-kl.de/fachbereiche/imst/iuk-knowhow.html -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html