xref: /linux/arch/mips/include/uapi/asm/types.h (revision 2da68a77)
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) 1994, 1995, 1996, 1999 by Ralf Baechle
8  * Copyright (C) 2008 Wind River Systems,
9  *   written by Ralf Baechle
10  * Copyright (C) 1999 Silicon Graphics, Inc.
11  */
12 #ifndef _UAPI_ASM_TYPES_H
13 #define _UAPI_ASM_TYPES_H
14 
15 /*
16  * We don't use int-l64.h for the kernel anymore but still use it for
17  * userspace to avoid code changes.
18  *
19  * However, some user programs (e.g. perf) may not want this. They can
20  * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here.
21  */
22 #ifndef __KERNEL__
23 # if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__)
24 #  include <asm-generic/int-l64.h>
25 # else
26 #  include <asm-generic/int-ll64.h>
27 # endif
28 #endif
29 
30 
31 #endif /* _UAPI_ASM_TYPES_H */
32