diff options
| author | David Woodhouse <David.Woodhouse@intel.com> | 2008-09-01 09:11:27 -0400 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-09-06 14:30:10 -0400 |
| commit | 5c14dd061a40ff05e00a6c8dbf097b334e6bbea0 (patch) | |
| tree | c8c8d997e5bf3443d9918e48dd001e70a2ab58a7 | |
| parent | 96bf7adbaed24da0293dd87466e27b4151ae9da8 (diff) | |
PARISC: Use <asm-generic/statfs.h>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
| -rw-r--r-- | include/asm-parisc/statfs.h | 55 |
1 files changed, 2 insertions, 53 deletions
diff --git a/include/asm-parisc/statfs.h b/include/asm-parisc/statfs.h index 1d2b8130b23d..324bea905dc6 100644 --- a/include/asm-parisc/statfs.h +++ b/include/asm-parisc/statfs.h | |||
| @@ -1,58 +1,7 @@ | |||
| 1 | #ifndef _PARISC_STATFS_H | 1 | #ifndef _PARISC_STATFS_H |
| 2 | #define _PARISC_STATFS_H | 2 | #define _PARISC_STATFS_H |
| 3 | 3 | ||
| 4 | #ifndef __KERNEL_STRICT_NAMES | 4 | #define __statfs_word long |
| 5 | 5 | #include <asm-generic/statfs.h> | |
| 6 | #include <linux/types.h> | ||
| 7 | |||
| 8 | typedef __kernel_fsid_t fsid_t; | ||
| 9 | |||
| 10 | #endif | ||
| 11 | |||
| 12 | /* | ||
| 13 | * It appears that PARISC could be 64 _or_ 32 bit. | ||
| 14 | * 64-bit fields must be explicitly 64-bit in statfs64. | ||
| 15 | */ | ||
| 16 | struct statfs { | ||
| 17 | long f_type; | ||
| 18 | long f_bsize; | ||
| 19 | long f_blocks; | ||
| 20 | long f_bfree; | ||
| 21 | long f_bavail; | ||
| 22 | long f_files; | ||
| 23 | long f_ffree; | ||
| 24 | __kernel_fsid_t f_fsid; | ||
| 25 | long f_namelen; | ||
| 26 | long f_frsize; | ||
| 27 | long f_spare[5]; | ||
| 28 | }; | ||
| 29 | |||
| 30 | struct statfs64 { | ||
| 31 | long f_type; | ||
| 32 | long f_bsize; | ||
| 33 | __u64 f_blocks; | ||
| 34 | __u64 f_bfree; | ||
| 35 | __u64 f_bavail; | ||
| 36 | __u64 f_files; | ||
| 37 | __u64 f_ffree; | ||
| 38 | __kernel_fsid_t f_fsid; | ||
| 39 | long f_namelen; | ||
| 40 | long f_frsize; | ||
| 41 | long f_spare[5]; | ||
| 42 | }; | ||
| 43 | |||
| 44 | struct compat_statfs64 { | ||
| 45 | __u32 f_type; | ||
| 46 | __u32 f_bsize; | ||
| 47 | __u64 f_blocks; | ||
| 48 | __u64 f_bfree; | ||
| 49 | __u64 f_bavail; | ||
| 50 | __u64 f_files; | ||
| 51 | __u64 f_ffree; | ||
| 52 | __kernel_fsid_t f_fsid; | ||
| 53 | __u32 f_namelen; | ||
| 54 | __u32 f_frsize; | ||
| 55 | __u32 f_spare[5]; | ||
| 56 | }; | ||
| 57 | 6 | ||
| 58 | #endif | 7 | #endif |
