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