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 | |
parent | MIPS: <uapi/asm/msgbuf.h>: Don't reference CONFIG_* symbols. (diff) | |
download | linux-c8d5c685647f7ce73ed642a9130e930ab69178d4.tar.xz linux-c8d5c685647f7ce73ed642a9130e930ab69178d4.zip |
MIPS: <uapi/asm/siginfo.h>: Don't reference CONFIG_* symbols.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-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 6a8714193fb9..b7a23064841f 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 |