blob: fa03ec3fbf897a4c3271d8a38025f383c82760cc [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Torvalds1da177e2005-04-16 15:20:36 -070020typedef long __kernel_daddr_t;
H. Peter Anvin86fcd102012-02-07 21:08:56 -080021#define __kernel_daddr_t __kernel_daddr_t
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#if (_MIPS_SZLONG == 32)
H. Peter Anvin86fcd102012-02-07 21:08:56 -080024typedef struct {
Linus Torvalds1da177e2005-04-16 15:20:36 -070025 long val[2];
Linus Torvalds1da177e2005-04-16 15:20:36 -070026} __kernel_fsid_t;
H. Peter Anvin86fcd102012-02-07 21:08:56 -080027#define __kernel_fsid_t __kernel_fsid_t
28#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
H. Peter Anvin86fcd102012-02-07 21:08:56 -080030#include <asm-generic/posix_types.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
32#endif /* _ASM_POSIX_TYPES_H */