diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
commit | dcec8a13bf565e47942a1751a9cec21bec5648fe (patch) | |
tree | 548b69625b18cc2e88c3e68d0923be546c9ebb03 /include/asm-sparc/stat.h | |
parent | 2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff) |
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash.
o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'include/asm-sparc/stat.h')
-rw-r--r-- | include/asm-sparc/stat.h | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/include/asm-sparc/stat.h b/include/asm-sparc/stat.h index 35f929c56..62038a4de 100644 --- a/include/asm-sparc/stat.h +++ b/include/asm-sparc/stat.h @@ -1,4 +1,4 @@ -/* $Id: stat.h,v 1.7 1996/10/27 08:55:48 davem Exp $ */ +/* $Id: stat.h,v 1.8 1998/02/06 12:52:07 jj Exp $ */ #ifndef _SPARC_STAT_H #define _SPARC_STAT_H @@ -38,4 +38,40 @@ struct stat { unsigned long __unused4[2]; }; +typedef struct { + __u32 major; + __u32 minor; +} __new_dev_t; + +struct stat64 { + __new_dev_t st_dev; + __u64 st_ino; + __u32 st_mode; + __u32 st_nlink; + __s32 st_uid; + __s32 st_gid; + __new_dev_t st_rdev; + __s64 st_size; + __u64 st_blocks; + __s32 st_atime; + __u32 __unused1; + __s32 st_mtime; + __u32 __unused2; + __s32 st_ctime; + __u32 __unused3; + __u32 st_blksize; + __u32 __unused4; +}; + +#define __XSTAT_VER_1 1 +#define __XSTAT_VER_2 2 +#define __XSTAT_VER_MASK 0xff + +#define __XSTAT_VER_XSTAT 0x000 +#define __XSTAT_VER_LXSTAT 0x100 +#define __XSTAT_VER_FXSTAT 0x200 +#define __XSTAT_VER_TYPEMASK 0xff00 + +#define __XMKNOD_VER_1 1 + #endif |