Commit c8d5c685 authored by Ralf Baechle's avatar Ralf Baechle

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

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent cfceb5e2
...@@ -25,10 +25,10 @@ struct siginfo; ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment