cris: posix_types.h, include asm-generic/posix_types.h
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:40:17 +0000 (13:40 +0200)
committerJesper Nilsson <jespern@axis.com>
Tue, 3 Apr 2012 11:23:23 +0000 (13:23 +0200)
Without that I cannot build anything:
In file included from include/linux/page-flags.h:8:0,
                 from kernel/bounds.c:9:
include/linux/types.h:25:1: error: unknown type name '__kernel_ino_t'
include/linux/types.h:29:1: error: unknown type name '__kernel_off_t'
...

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: linux-cris-kernel@axis.com
arch/cris/include/asm/posix_types.h

index 72b3cd6..234891c 100644 (file)
@@ -33,4 +33,6 @@ typedef int           __kernel_ptrdiff_t;
 typedef unsigned short __kernel_old_dev_t;
 #define __kernel_old_dev_t __kernel_old_dev_t
 
+#include <asm-generic/posix_types.h>
+
 #endif /* __ARCH_CRIS_POSIX_TYPES_H */