microblaze: Fix size of __kernel_mode_t to short
authorMichal Simek <monstr@monstr.eu>
Tue, 26 May 2009 08:14:49 +0000 (10:14 +0200)
committerMichal Simek <monstr@monstr.eu>
Tue, 26 May 2009 14:43:38 +0000 (16:43 +0200)
This patches solve problem with inconsistency between
kernel and glibc

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/posix_types.h

index b4df41c..8c758b2 100644 (file)
@@ -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;