diff options
Diffstat (limited to 'fs/xfs/xfs_linux.h')
-rw-r--r-- | fs/xfs/xfs_linux.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_linux.h index 7c7842c85a08..85f883dd6207 100644 --- a/fs/xfs/xfs_linux.h +++ b/fs/xfs/xfs_linux.h | |||
@@ -32,26 +32,12 @@ typedef unsigned int __uint32_t; | |||
32 | typedef signed long long int __int64_t; | 32 | typedef signed long long int __int64_t; |
33 | typedef unsigned long long int __uint64_t; | 33 | typedef unsigned long long int __uint64_t; |
34 | 34 | ||
35 | typedef __uint32_t inst_t; /* an instruction */ | ||
36 | |||
37 | typedef __s64 xfs_off_t; /* <file offset> type */ | 35 | typedef __s64 xfs_off_t; /* <file offset> type */ |
38 | typedef unsigned long long xfs_ino_t; /* <inode> type */ | 36 | typedef unsigned long long xfs_ino_t; /* <inode> type */ |
39 | typedef __s64 xfs_daddr_t; /* <disk address> type */ | 37 | typedef __s64 xfs_daddr_t; /* <disk address> type */ |
40 | typedef char * xfs_caddr_t; /* <core address> type */ | ||
41 | typedef __u32 xfs_dev_t; | 38 | typedef __u32 xfs_dev_t; |
42 | typedef __u32 xfs_nlink_t; | 39 | typedef __u32 xfs_nlink_t; |
43 | 40 | ||
44 | /* __psint_t is the same size as a pointer */ | ||
45 | #if (BITS_PER_LONG == 32) | ||
46 | typedef __int32_t __psint_t; | ||
47 | typedef __uint32_t __psunsigned_t; | ||
48 | #elif (BITS_PER_LONG == 64) | ||
49 | typedef __int64_t __psint_t; | ||
50 | typedef __uint64_t __psunsigned_t; | ||
51 | #else | ||
52 | #error BITS_PER_LONG must be 32 or 64 | ||
53 | #endif | ||
54 | |||
55 | #include "xfs_types.h" | 41 | #include "xfs_types.h" |
56 | 42 | ||
57 | #include "kmem.h" | 43 | #include "kmem.h" |