Skip to content

Commit

Permalink
cris: posix_types.h, include asm-generic/posix_types.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jiri Slaby authored and Jesper Nilsson committed Apr 3, 2012
1 parent 14c70c3 commit 74f077d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/cris/include/asm/posix_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 74f077d

Please sign in to comment.