Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #if (_MIPS_SZLONG == 64) |
| 21 | typedef unsigned int __kernel_nlink_t; |
H. Peter Anvin | 86fcd10 | 2012-02-07 21:08:56 -0800 | [diff] [blame^] | 22 | #define __kernel_nlink_t __kernel_nlink_t |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | #endif |
H. Peter Anvin | 86fcd10 | 2012-02-07 21:08:56 -0800 | [diff] [blame^] | 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | typedef long __kernel_daddr_t; |
H. Peter Anvin | 86fcd10 | 2012-02-07 21:08:56 -0800 | [diff] [blame^] | 26 | #define __kernel_daddr_t __kernel_daddr_t |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | #if (_MIPS_SZLONG == 32) |
H. Peter Anvin | 86fcd10 | 2012-02-07 21:08:56 -0800 | [diff] [blame^] | 29 | typedef struct { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | long val[2]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | } __kernel_fsid_t; |
H. Peter Anvin | 86fcd10 | 2012-02-07 21:08:56 -0800 | [diff] [blame^] | 32 | #define __kernel_fsid_t __kernel_fsid_t |
| 33 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
H. Peter Anvin | 86fcd10 | 2012-02-07 21:08:56 -0800 | [diff] [blame^] | 35 | #include <asm-generic/posix_types.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | |
| 37 | #endif /* _ASM_POSIX_TYPES_H */ |