]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/types.h
[POWERPC] Support feature fixups in vdso's
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / types.h
index 7d803cb547bba26f01f1f089bf081472baa2a169..d6fb56b80453c44d5ad922d25cfc25060655748c 100644 (file)
@@ -64,6 +64,7 @@ typedef struct {
 
 #ifndef __ASSEMBLY__
 
+
 typedef signed char s8;
 typedef unsigned char u8;
 
@@ -83,7 +84,11 @@ typedef unsigned long long u64;
 
 typedef __vector128 vector128;
 
+#ifdef __powerpc64__
+typedef u64 dma_addr_t;
+#else
 typedef u32 dma_addr_t;
+#endif
 typedef u64 dma64_addr_t;
 
 typedef struct {
@@ -97,6 +102,11 @@ typedef u64 sector_t;
 #define HAVE_SECTOR_T
 #endif
 
+#ifdef CONFIG_LSF
+typedef u64 blkcnt_t;
+#define HAVE_BLKCNT_T
+#endif
+
 #endif /* __ASSEMBLY__ */
 
 #endif /* __KERNEL__ */