Explorar o código

MIPS: <uapi/asm/siginfo.h>: Don't reference CONFIG_* symbols.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle %!s(int64=12) %!d(string=hai) anos
pai
achega
c8d5c68564
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      arch/mips/include/uapi/asm/siginfo.h

+ 2 - 2
arch/mips/include/uapi/asm/siginfo.h

@@ -25,10 +25,10 @@ struct siginfo;
 /*
 /*
  * Careful to keep union _sifields from shifting ...
  * Careful to keep union _sifields from shifting ...
  */
  */
-#ifdef CONFIG_32BIT
+#if __SIZEOF_LONG__ == 4
 #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
 #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
 #endif
 #endif
-#ifdef CONFIG_64BIT
+#if __SIZEOF_LONG__ == 8
 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
 #endif
 #endif