diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/posix_types.h | 5 | ||||
-rw-r--r-- | arch/mips/include/asm/stat.h | 6 |
2 files changed, 3 insertions, 8 deletions
diff --git a/arch/mips/include/asm/posix_types.h b/arch/mips/include/asm/posix_types.h index e0308dcca135..fa03ec3fbf89 100644 --- a/arch/mips/include/asm/posix_types.h +++ b/arch/mips/include/asm/posix_types.h | |||
@@ -17,11 +17,6 @@ | |||
17 | * assume GCC is being used. | 17 | * assume GCC is being used. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #if (_MIPS_SZLONG == 64) | ||
21 | typedef unsigned int __kernel_nlink_t; | ||
22 | #define __kernel_nlink_t __kernel_nlink_t | ||
23 | #endif | ||
24 | |||
25 | typedef long __kernel_daddr_t; | 20 | typedef long __kernel_daddr_t; |
26 | #define __kernel_daddr_t __kernel_daddr_t | 21 | #define __kernel_daddr_t __kernel_daddr_t |
27 | 22 | ||
diff --git a/arch/mips/include/asm/stat.h b/arch/mips/include/asm/stat.h index 6e00f751ab6d..fe9a4c3ec5a1 100644 --- a/arch/mips/include/asm/stat.h +++ b/arch/mips/include/asm/stat.h | |||
@@ -20,7 +20,7 @@ struct stat { | |||
20 | long st_pad1[3]; /* Reserved for network id */ | 20 | long st_pad1[3]; /* Reserved for network id */ |
21 | ino_t st_ino; | 21 | ino_t st_ino; |
22 | mode_t st_mode; | 22 | mode_t st_mode; |
23 | nlink_t st_nlink; | 23 | __u32 st_nlink; |
24 | uid_t st_uid; | 24 | uid_t st_uid; |
25 | gid_t st_gid; | 25 | gid_t st_gid; |
26 | unsigned st_rdev; | 26 | unsigned st_rdev; |
@@ -55,7 +55,7 @@ struct stat64 { | |||
55 | unsigned long long st_ino; | 55 | unsigned long long st_ino; |
56 | 56 | ||
57 | mode_t st_mode; | 57 | mode_t st_mode; |
58 | nlink_t st_nlink; | 58 | __u32 st_nlink; |
59 | 59 | ||
60 | uid_t st_uid; | 60 | uid_t st_uid; |
61 | gid_t st_gid; | 61 | gid_t st_gid; |
@@ -96,7 +96,7 @@ struct stat { | |||
96 | unsigned long st_ino; | 96 | unsigned long st_ino; |
97 | 97 | ||
98 | mode_t st_mode; | 98 | mode_t st_mode; |
99 | nlink_t st_nlink; | 99 | __u32 st_nlink; |
100 | 100 | ||
101 | uid_t st_uid; | 101 | uid_t st_uid; |
102 | gid_t st_gid; | 102 | gid_t st_gid; |