diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-04-02 13:40:17 +0200 |
---|---|---|
committer | Xavier Boudet <xboudet@gmail.com> | 2013-08-20 20:32:42 +0200 |
commit | ca1d7aac5f1b35c631571ba38560f69da6941dde (patch) | |
tree | 1e12487c327465cef2fc18868bdaaba720bdf870 /arch | |
parent | 51436fd6c17b59c0b1e396f869cfbed828570b05 (diff) |
cris: posix_types.h, include asm-generic/posix_types.h
commit 74f077d2a7651409c44bb323471f219a4b0d2aab upstream.
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
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/cris/include/asm/posix_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/cris/include/asm/posix_types.h b/arch/cris/include/asm/posix_types.h index 72b3cd6eda0b..234891c74e2b 100644 --- a/arch/cris/include/asm/posix_types.h +++ b/arch/cris/include/asm/posix_types.h @@ -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 */ |