summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorUlf Carlsson <md1ulfc@mdstud.chalmers.se>2000-07-04 09:40:28 +0000
committerUlf Carlsson <md1ulfc@mdstud.chalmers.se>2000-07-04 09:40:28 +0000
commit6bfb3b8f2afaaa0ca16118347e82d5d0590606cc (patch)
tree74390fb673209eef3316cd8f30b98090d8c7c2ce /include/asm-mips
parent4eb414488b8e84070c6615072b64eddd7c62c91d (diff)
Fix some types and some more %ld mess.
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/posix_types.h14
-rw-r--r--include/asm-mips/types.h2
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