aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-08 00:08:46 -0500
committerH. Peter Anvin <hpa@zytor.com>2012-02-14 15:01:27 -0500
commit34e6f9e9f9250f2b9a6da6f9df9c9293e3701c2f (patch)
treeeb68e490975077bf8f23c4c677a06c52df8389c9 /include/asm-generic
parentb4255ba3fb9275f06daffce9f458668c8bd6773e (diff)
posix_types: Make it possible to override __kernel_fsid_t
__kernel_fsid_t has members of type "long" on at least one architecture (MIPS32), so make it possible to override the definition. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Link: http://lkml.kernel.org/r/1328677745-20121-3-git-send-email-hpa@zytor.com Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/posix_types.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-generic/posix_types.h b/include/asm-generic/posix_types.h
index ac83f6beb538..ac217600a9c7 100644
--- a/include/asm-generic/posix_types.h
+++ b/include/asm-generic/posix_types.h
@@ -73,6 +73,12 @@ typedef long __kernel_ptrdiff_t;
73#endif 73#endif
74#endif 74#endif
75 75
76#ifndef __kernel_fsid_t
77typedef struct {
78 int val[2];
79} __kernel_fsid_t;
80#endif
81
76/* 82/*
77 * anything below here should be completely generic 83 * anything below here should be completely generic
78 */ 84 */
@@ -86,10 +92,6 @@ typedef char * __kernel_caddr_t;
86typedef unsigned short __kernel_uid16_t; 92typedef unsigned short __kernel_uid16_t;
87typedef unsigned short __kernel_gid16_t; 93typedef unsigned short __kernel_gid16_t;
88 94
89typedef struct {
90 int val[2];
91} __kernel_fsid_t;
92
93#ifdef __KERNEL__ 95#ifdef __KERNEL__
94 96
95#undef __FD_SET 97#undef __FD_SET