Commit 34e6f9e9 authored by H. Peter Anvin's avatar H. Peter Anvin

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: default avatarH. 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>
parent b4255ba3
...@@ -73,6 +73,12 @@ typedef long __kernel_ptrdiff_t; ...@@ -73,6 +73,12 @@ typedef long __kernel_ptrdiff_t;
#endif #endif
#endif #endif
#ifndef __kernel_fsid_t
typedef struct {
int val[2];
} __kernel_fsid_t;
#endif
/* /*
* anything below here should be completely generic * anything below here should be completely generic
*/ */
...@@ -86,10 +92,6 @@ typedef char * __kernel_caddr_t; ...@@ -86,10 +92,6 @@ typedef char * __kernel_caddr_t;
typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_uid16_t;
typedef unsigned short __kernel_gid16_t; typedef unsigned short __kernel_gid16_t;
typedef struct {
int val[2];
} __kernel_fsid_t;
#ifdef __KERNEL__ #ifdef __KERNEL__
#undef __FD_SET #undef __FD_SET
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment