diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-12 21:23:52 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-18 16:28:16 +0200 |
commit | c8d5c685647f7ce73ed642a9130e930ab69178d4 (patch) | |
tree | e0a41288e853725401eb6d6d12aa43188fb8c98e /arch/mips/include | |
parent | cfceb5e210d28d5dbc4d10e2a9191f4a81c4cece (diff) | |
download | op-kernel-dev-c8d5c685647f7ce73ed642a9130e930ab69178d4.zip op-kernel-dev-c8d5c685647f7ce73ed642a9130e930ab69178d4.tar.gz |
MIPS: <uapi/asm/siginfo.h>: Don't reference CONFIG_* symbols.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/uapi/asm/siginfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/uapi/asm/siginfo.h b/arch/mips/include/uapi/asm/siginfo.h index 6a87141..b7a2306 100644 --- a/arch/mips/include/uapi/asm/siginfo.h +++ b/arch/mips/include/uapi/asm/siginfo.h @@ -25,10 +25,10 @@ struct siginfo; /* * Careful to keep union _sifields from shifting ... */ -#ifdef CONFIG_32BIT +#if __SIZEOF_LONG__ == 4 #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int)) #endif -#ifdef CONFIG_64BIT +#if __SIZEOF_LONG__ == 8 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) #endif |