diff options
author | David Howells <dhowells@redhat.com> | 2011-12-13 10:07:49 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-12-13 10:07:49 -0500 |
commit | 1632b9e2a14ce9f4e08faf6c4380431d63319bd3 (patch) | |
tree | 572e45a2de74d233af5d98242bafbd193e074f43 /arch/mips | |
parent | fdc29805bd7cae133303045fc0249d76f3827613 (diff) |
UAPI: Split trivial #if defined(__KERNEL__) && X conditionals
Split trivial #if defined(__KERNEL__) && X conditionals to make automated
disintegration easier.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/types.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h index 533812b61881..9b96461bc1e7 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 | #ifndef __ASSEMBLY__ | 28 | #ifndef __ASSEMBLY__ |