Christopher Ferris | 1980842 | 2013-11-07 14:54:38 -0800 | [diff] [blame] | 1 | /* |
| 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 Ferris | 3147524 | 2014-09-02 17:43:51 -0700 | [diff] [blame] | 17 | * |
| 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 Ferris | 1980842 | 2013-11-07 14:54:38 -0800 | [diff] [blame] | 20 | */ |
| 21 | #ifndef __KERNEL__ |
Christopher Ferris | 3147524 | 2014-09-02 17:43:51 -0700 | [diff] [blame] | 22 | # if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__) |
Christopher Ferris | 1980842 | 2013-11-07 14:54:38 -0800 | [diff] [blame] | 23 | # 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 */ |