diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/posix_types.h | 14 | ||||
-rw-r--r-- | include/asm-mips/types.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-mips/posix_types.h b/include/asm-mips/posix_types.h index 83fd8fbc2..6c48b3f83 100644 --- a/include/asm-mips/posix_types.h +++ b/include/asm-mips/posix_types.h @@ -15,15 +15,15 @@ * assume GCC is being used. */ -typedef unsigned long __kernel_dev_t; +typedef unsigned int __kernel_dev_t; typedef unsigned long __kernel_ino_t; -typedef unsigned long __kernel_mode_t; -typedef unsigned long __kernel_nlink_t; +typedef unsigned int __kernel_mode_t; +typedef int __kernel_nlink_t; typedef long __kernel_off_t; typedef int __kernel_pid_t; typedef int __kernel_ipc_pid_t; -typedef long __kernel_uid_t; -typedef long __kernel_gid_t; +typedef int __kernel_uid_t; +typedef int __kernel_gid_t; typedef unsigned int __kernel_size_t; typedef int __kernel_ssize_t; typedef int __kernel_ptrdiff_t; @@ -35,8 +35,8 @@ typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; -typedef long __kernel_uid32_t; -typedef long __kernel_gid32_t; +typedef int __kernel_uid32_t; +typedef int __kernel_gid32_t; typedef __kernel_uid_t __kernel_old_uid_t; typedef __kernel_gid_t __kernel_old_gid_t; diff --git a/include/asm-mips/types.h b/include/asm-mips/types.h index d7bf84ee4..638f75163 100644 --- a/include/asm-mips/types.h +++ b/include/asm-mips/types.h @@ -10,7 +10,7 @@ #ifndef _ASM_TYPES_H #define _ASM_TYPES_H -typedef unsigned long umode_t; +typedef unsigned short umode_t; /* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the |