sparc32: drop __old_kernel_stat
[linux-2.6/linux-2.6-openrd.git] / arch / sparc / include / asm / stat_32.h
blob643d572d02cceb130e00ea6d0c044c980f7986da
1 #ifndef _SPARC_STAT_H
2 #define _SPARC_STAT_H
4 #include <linux/types.h>
6 struct stat {
7 unsigned short st_dev;
8 unsigned long st_ino;
9 unsigned short st_mode;
10 short st_nlink;
11 unsigned short st_uid;
12 unsigned short st_gid;
13 unsigned short st_rdev;
14 long st_size;
15 long st_atime;
16 unsigned long st_atime_nsec;
17 long st_mtime;
18 unsigned long st_mtime_nsec;
19 long st_ctime;
20 unsigned long st_ctime_nsec;
21 long st_blksize;
22 long st_blocks;
23 unsigned long __unused4[2];
26 #define STAT_HAVE_NSEC 1
28 struct stat64 {
29 unsigned long long st_dev;
31 unsigned long long st_ino;
33 unsigned int st_mode;
34 unsigned int st_nlink;
36 unsigned int st_uid;
37 unsigned int st_gid;
39 unsigned long long st_rdev;
41 unsigned char __pad3[8];
43 long long st_size;
44 unsigned int st_blksize;
46 unsigned char __pad4[8];
47 unsigned int st_blocks;
49 unsigned int st_atime;
50 unsigned int st_atime_nsec;
52 unsigned int st_mtime;
53 unsigned int st_mtime_nsec;
55 unsigned int st_ctime;
56 unsigned int st_ctime_nsec;
58 unsigned int __unused4;
59 unsigned int __unused5;
62 #endif