diff options
Diffstat (limited to 'kernel/arch/mips/include/uapi/asm/types.h')
-rw-r--r-- | kernel/arch/mips/include/uapi/asm/types.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kernel/arch/mips/include/uapi/asm/types.h b/kernel/arch/mips/include/uapi/asm/types.h new file mode 100644 index 000000000..f3dd9ff0c --- /dev/null +++ b/kernel/arch/mips/include/uapi/asm/types.h @@ -0,0 +1,30 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle + * Copyright (C) 2008 Wind River Systems, + * written by Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#ifndef _UAPI_ASM_TYPES_H +#define _UAPI_ASM_TYPES_H + +/* + * We don't use int-l64.h for the kernel anymore but still use it for + * userspace to avoid code changes. + * + * However, some user programs (e.g. perf) may not want this. They can + * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. + */ +#ifndef __KERNEL__ +# if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__) +# include <asm-generic/int-l64.h> +# else +# include <asm-generic/int-ll64.h> +# endif +#endif + + +#endif /* _UAPI_ASM_TYPES_H */ |