summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-09-10 06:59:49 -0400
committerTom Rini <trini@ti.com>2014-09-10 06:59:49 -0400
commitb7a809957bcd72c2efa49ce733774b1e28878585 (patch)
tree8659061f5fbbbda76b76ae204cb00a5cedb299a5 /arch/microblaze
parent5935408a4092a1a132ff1ce866374ab1ed555bcd (diff)
parent1a7ae2585410cdd6d88713bcd941463370aacd2e (diff)
downloadu-boot-imx-b7a809957bcd72c2efa49ce733774b1e28878585.zip
u-boot-imx-b7a809957bcd72c2efa49ce733774b1e28878585.tar.gz
u-boot-imx-b7a809957bcd72c2efa49ce733774b1e28878585.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/posix_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/posix_types.h b/arch/microblaze/include/asm/posix_types.h
index 38dc5aa..ccc6235 100644
--- a/arch/microblaze/include/asm/posix_types.h
+++ b/arch/microblaze/include/asm/posix_types.h
@@ -27,7 +27,11 @@ typedef int __kernel_pid_t;
typedef unsigned short __kernel_ipc_pid_t;
typedef unsigned int __kernel_uid_t;
typedef unsigned int __kernel_gid_t;
+#ifdef __GNUC__
+typedef __SIZE_TYPE__ __kernel_size_t;
+#else
typedef unsigned int __kernel_size_t;
+#endif
typedef int __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
typedef long __kernel_time_t;