]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/types.h
generic: add phys_addr_t for holding physical addresses
[linux-2.6-omap-h63xx.git] / include / linux / types.h
index d4a9ce6e2760394a7fb29d4812e03a4728a9a555..022c668496da16782940e08047745e849c6350ef 100644 (file)
@@ -197,6 +197,12 @@ typedef u64 resource_size_t;
 typedef u32 resource_size_t;
 #endif
 
+#ifdef CONFIG_PHYS_ADDR_T_64BIT
+typedef u64 phys_addr_t;
+#else
+typedef u32 phys_addr_t;
+#endif
+
 struct ustat {
        __kernel_daddr_t        f_tfree;
        __kernel_ino_t          f_tinode;