Merge arlied/drm-next into drm-misc-next
[sfrench/cifs-2.6.git] / arch / mips / include / uapi / asm / posix_types.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * This file is subject to the terms and conditions of the GNU General Public
4  * License.  See the file "COPYING" in the main directory of this archive
5  * for more details.
6  *
7  * Copyright (C) 1996, 97, 98, 99, 2000 by Ralf Baechle
8  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
9  */
10 #ifndef _ASM_POSIX_TYPES_H
11 #define _ASM_POSIX_TYPES_H
12
13 #include <asm/sgidefs.h>
14
15 /*
16  * This file is generally used by user-level software, so you need to
17  * be a little careful about namespace pollution etc.  Also, we cannot
18  * assume GCC is being used.
19  */
20
21 typedef long            __kernel_daddr_t;
22 #define __kernel_daddr_t __kernel_daddr_t
23
24 #if (_MIPS_SZLONG == 32)
25 typedef struct {
26         long    val[2];
27 } __kernel_fsid_t;
28 #define __kernel_fsid_t __kernel_fsid_t
29 #endif
30
31 #include <asm-generic/posix_types.h>
32
33 #endif /* _ASM_POSIX_TYPES_H */