]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
MIPS: <uapi/asm/siginfo.h>: Don't reference CONFIG_* symbols.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 12 Jun 2013 19:23:52 +0000 (21:23 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 18 Jun 2013 14:28:16 +0000 (16:28 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/uapi/asm/siginfo.h

index 6a8714193fb9b03ad5bdeb753642e1622247961d..b7a23064841f2171173dbaca04027381000e02d4 100644 (file)
@@ -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