summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-05-26 10:14:49 +0200
committerMichal Simek <monstr@monstr.eu>2009-05-26 16:43:38 +0200
commit2f3a499e6b803802880aea1fb8d3b46f1959494f (patch)
tree3be2918a8df3fc9b9ef29f62f4e821a553defae3 /arch/microblaze
parent0945f98b4a844b488d4e42a43f90a3c3aef281af (diff)
downloadop-kernel-dev-2f3a499e6b803802880aea1fb8d3b46f1959494f.zip
op-kernel-dev-2f3a499e6b803802880aea1fb8d3b46f1959494f.tar.gz
microblaze: Fix size of __kernel_mode_t to short
This patches solve problem with inconsistency between kernel and glibc Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/posix_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/posix_types.h b/arch/microblaze/include/asm/posix_types.h
index b4df41c..8c758b23 100644
--- a/arch/microblaze/include/asm/posix_types.h
+++ b/arch/microblaze/include/asm/posix_types.h
@@ -16,7 +16,7 @@
*/
typedef unsigned long __kernel_ino_t;
-typedef unsigned int __kernel_mode_t;
+typedef unsigned short __kernel_mode_t;
typedef unsigned int __kernel_nlink_t;
typedef long __kernel_off_t;
typedef int __kernel_pid_t;
OpenPOWER on IntegriCloud