]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/types.h
[MIPS] Fix mprotect() syscall for MIPS32 w/36-bit physical address support
[linux-2.6-omap-h63xx.git] / include / asm-mips / types.h
index d2f0c76b00a9f85a817e3e1436243e8eb93d9bfe..cd2813d8e136af1f64d7b54b1f34661459e21110 100644 (file)
@@ -78,7 +78,7 @@ typedef unsigned long long u64;
 #endif
 
 #if (defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR)) \
-    || defined(CONFIG_MIPS64)
+    || defined(CONFIG_64BIT)
 typedef u64 dma_addr_t;
 #else
 typedef u32 dma_addr_t;
@@ -99,7 +99,10 @@ typedef u64 sector_t;
 #define HAVE_SECTOR_T
 #endif
 
-typedef unsigned short kmem_bufctl_t;
+#ifdef CONFIG_LSF
+typedef u64 blkcnt_t;
+#define HAVE_BLKCNT_T
+#endif
 
 #endif /* __ASSEMBLY__ */