]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/mips/include/asm/posix_types.h
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
[karo-tx-linux.git] / arch / mips / include / asm / posix_types.h
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 1996, 97, 98, 99, 2000 by Ralf Baechle
7  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
8  */
9 #ifndef _ASM_POSIX_TYPES_H
10 #define _ASM_POSIX_TYPES_H
11
12 #include <asm/sgidefs.h>
13
14 /*
15  * This file is generally used by user-level software, so you need to
16  * be a little careful about namespace pollution etc.  Also, we cannot
17  * assume GCC is being used.
18  */
19
20 #if (_MIPS_SZLONG == 64)
21 typedef unsigned int    __kernel_nlink_t;
22 #define __kernel_nlink_t __kernel_nlink_t
23 #endif
24
25 typedef long            __kernel_daddr_t;
26 #define __kernel_daddr_t __kernel_daddr_t
27
28 #if (_MIPS_SZLONG == 32)
29 typedef struct {
30         long    val[2];
31 } __kernel_fsid_t;
32 #define __kernel_fsid_t __kernel_fsid_t
33 #endif
34
35 #include <asm-generic/posix_types.h>
36
37 #endif /* _ASM_POSIX_TYPES_H */