]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/asm-ppc/types.h
Replace __attribute references with __attribute__
[karo-tx-uboot.git] / include / asm-ppc / types.h
index 7adf1450f250f29c7ff473784e0518053f04fd1f..b27a6b753a06cb02f55d187badc8e2f915af761d 100644 (file)
@@ -21,7 +21,7 @@ __extension__ typedef unsigned long long __u64;
 
 typedef struct {
        __u32 u[4];
-} __attribute((aligned(16))) vector128;
+} __attribute__((aligned(16))) vector128;
 
 #ifdef __KERNEL__
 /*
@@ -44,6 +44,14 @@ typedef unsigned long long u64;
 /* DMA addresses are 32-bits wide */
 typedef u32 dma_addr_t;
 
+#ifdef CONFIG_PHYS_64BIT
+typedef unsigned long long phys_addr_t;
+typedef unsigned long long phys_size_t;
+#else
+typedef unsigned long phys_addr_t;
+typedef unsigned long phys_size_t;
+#endif
+
 #endif /* __KERNEL__ */
 #endif /* __ASSEMBLY__ */