blob: f3dd9ff0cc0c07def2ff4f6d8d56d1c30aef05f0 [file] [log] [blame]
Christopher Ferris19808422013-11-07 14:54:38 -08001/*
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) 1994, 1995, 1996, 1999 by Ralf Baechle
7 * Copyright (C) 2008 Wind River Systems,
8 * written by Ralf Baechle
9 * Copyright (C) 1999 Silicon Graphics, Inc.
10 */
11#ifndef _UAPI_ASM_TYPES_H
12#define _UAPI_ASM_TYPES_H
13
14/*
15 * We don't use int-l64.h for the kernel anymore but still use it for
16 * userspace to avoid code changes.
Christopher Ferris31475242014-09-02 17:43:51 -070017 *
18 * However, some user programs (e.g. perf) may not want this. They can
19 * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here.
Christopher Ferris19808422013-11-07 14:54:38 -080020 */
21#ifndef __KERNEL__
Christopher Ferris31475242014-09-02 17:43:51 -070022# if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__)
Christopher Ferris19808422013-11-07 14:54:38 -080023# include <asm-generic/int-l64.h>
24# else
25# include <asm-generic/int-ll64.h>
26# endif
27#endif
28
29
30#endif /* _UAPI_ASM_TYPES_H */