blob: 6b21504842a44a55b9b3a1b083de62702989f756 [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Christopher Ferris19808422013-11-07 14:54:38 -08002/*
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.
Christopher Ferris31475242014-09-02 17:43:51 -070018 *
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.
Christopher Ferris19808422013-11-07 14:54:38 -080021 */
22#ifndef __KERNEL__
Christopher Ferris31475242014-09-02 17:43:51 -070023# if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__)
Christopher Ferris19808422013-11-07 14:54:38 -080024# 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 */