diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 08:49:41 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 08:49:41 -0400 |
commit | 12e22e8e60add9e1ccd61509ab7fd6fc1c214c52 (patch) | |
tree | 6b7df40ae8aca0a2d0d937136c780ae66bcafcb4 /arch/mips/include | |
parent | 2da0ba2d2768baa0c5c502d1f53505dc905a06e3 (diff) |
MIPS: Stop using <asm-generic/int-l64.h>.
This fixes a few warnings - and triggers a few new ones which the rest of
this patch fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h index bcbb8d675af..7956e69a3bd 100644 --- a/arch/mips/include/asm/types.h +++ b/arch/mips/include/asm/types.h | |||
@@ -4,12 +4,18 @@ | |||
4 | * for more details. | 4 | * for more details. |
5 | * | 5 | * |
6 | * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle | 6 | * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle |
7 | * Copyright (C) 2008 Wind River Systems, | ||
8 | * written by Ralf Baechle | ||
7 | * Copyright (C) 1999 Silicon Graphics, Inc. | 9 | * Copyright (C) 1999 Silicon Graphics, Inc. |
8 | */ | 10 | */ |
9 | #ifndef _ASM_TYPES_H | 11 | #ifndef _ASM_TYPES_H |
10 | #define _ASM_TYPES_H | 12 | #define _ASM_TYPES_H |
11 | 13 | ||
12 | #if _MIPS_SZLONG == 64 | 14 | /* |
15 | * We don't use int-l64.h for the kernel anymore but still use it for | ||
16 | * userspace to avoid code changes. | ||
17 | */ | ||
18 | #if (_MIPS_SZLONG == 64) && !defined(__KERNEL__) | ||
13 | # include <asm-generic/int-l64.h> | 19 | # include <asm-generic/int-l64.h> |
14 | #else | 20 | #else |
15 | # include <asm-generic/int-ll64.h> | 21 | # include <asm-generic/int-ll64.h> |