[PATCH] sata_promise: Add PDC40519 id
[linux-2.6/mini2440.git] / include / asm-ppc64 / statfs.h
blob3c985e5246a7bf893aa99b41448036b3ecf1f4ac
1 #ifndef _PPC64_STATFS_H
2 #define _PPC64_STATFS_H
4 /*
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.
9 */
11 #ifndef __KERNEL_STRICT_NAMES
12 #include <linux/types.h>
13 typedef __kernel_fsid_t fsid_t;
14 #endif
17 * We're already 64-bit, so duplicate the definition
19 struct statfs {
20 long f_type;
21 long f_bsize;
22 long f_blocks;
23 long f_bfree;
24 long f_bavail;
25 long f_files;
26 long f_ffree;
27 __kernel_fsid_t f_fsid;
28 long f_namelen;
29 long f_frsize;
30 long f_spare[5];
33 struct statfs64 {
34 long f_type;
35 long f_bsize;
36 long f_blocks;
37 long f_bfree;
38 long f_bavail;
39 long f_files;
40 long f_ffree;
41 __kernel_fsid_t f_fsid;
42 long f_namelen;
43 long f_frsize;
44 long f_spare[5];
47 struct compat_statfs64 {
48 __u32 f_type;
49 __u32 f_bsize;
50 __u64 f_blocks;
51 __u64 f_bfree;
52 __u64 f_bavail;
53 __u64 f_files;
54 __u64 f_ffree;
55 __kernel_fsid_t f_fsid;
56 __u32 f_namelen;
57 __u32 f_frsize;
58 __u32 f_spare[5];
61 #endif /* _PPC64_STATFS_H */