summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/posix_types.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-10-17 08:57:13 -0700
committerTom Rini <trini@ti.com>2012-10-17 08:57:13 -0700
commitd1ff690612415470a681787c029803952142043d (patch)
tree09a7a42be56797aa57abefc8f464bffa1ecb16da /arch/mips/include/asm/posix_types.h
parentff04f6d1224d8952b566b8671222151495883073 (diff)
parent6b2eba1b7cd661fc6b2b0e0d4d039d1c299e2e07 (diff)
downloadblackbird-obmc-uboot-d1ff690612415470a681787c029803952142043d.tar.gz
blackbird-obmc-uboot-d1ff690612415470a681787c029803952142043d.zip
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips/include/asm/posix_types.h')
-rw-r--r--arch/mips/include/asm/posix_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/posix_types.h b/arch/mips/include/asm/posix_types.h
index 879aae210b..4deac5207a 100644
--- a/arch/mips/include/asm/posix_types.h
+++ b/arch/mips/include/asm/posix_types.h
@@ -24,9 +24,15 @@ typedef int __kernel_pid_t;
typedef int __kernel_ipc_pid_t;
typedef int __kernel_uid_t;
typedef int __kernel_gid_t;
+#if _MIPS_SZLONG != 64
typedef unsigned int __kernel_size_t;
typedef int __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
+#else
+typedef unsigned long __kernel_size_t;
+typedef long __kernel_ssize_t;
+typedef long __kernel_ptrdiff_t;
+#endif
typedef long __kernel_time_t;
typedef long __kernel_suseconds_t;
typedef long __kernel_clock_t;
OpenPOWER on IntegriCloud