diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/Kbuild | 4 | ||||
-rw-r--r-- | arch/mips/include/asm/types.h | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild index 7897f05e316..f53f9ca7399 100644 --- a/arch/mips/include/asm/Kbuild +++ b/arch/mips/include/asm/Kbuild | |||
@@ -1,3 +1,5 @@ | |||
1 | include include/asm-generic/Kbuild.asm | 1 | include include/asm-generic/Kbuild.asm |
2 | 2 | ||
3 | header-y += cachectl.h sgidefs.h sysmips.h | 3 | header-y += cachectl.h |
4 | header-y += sgidefs.h | ||
5 | header-y += sysmips.h | ||
diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h index 43bf70ebd3a..1228b25b290 100644 --- a/arch/mips/include/asm/types.h +++ b/arch/mips/include/asm/types.h | |||
@@ -15,10 +15,14 @@ | |||
15 | * We don't use int-l64.h for the kernel anymore but still use it for | 15 | * We don't use int-l64.h for the kernel anymore but still use it for |
16 | * userspace to avoid code changes. | 16 | * userspace to avoid code changes. |
17 | */ | 17 | */ |
18 | #if (_MIPS_SZLONG == 64) && !defined(__KERNEL__) | 18 | #ifdef __KERNEL__ |
19 | # include <asm-generic/int-l64.h> | ||
20 | #else | ||
21 | # include <asm-generic/int-ll64.h> | 19 | # include <asm-generic/int-ll64.h> |
20 | #else | ||
21 | # if _MIPS_SZLONG == 64 | ||
22 | # include <asm-generic/int-l64.h> | ||
23 | # else | ||
24 | # include <asm-generic/int-ll64.h> | ||
25 | # endif | ||
22 | #endif | 26 | #endif |
23 | 27 | ||
24 | /* | 28 | /* |