From: Ralf Baechle Date: Wed, 12 Jun 2013 19:23:52 +0000 (+0200) Subject: MIPS: : Don't reference CONFIG_* symbols. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c8d5c685647f7ce73ed642a9130e930ab69178d4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: : Don't reference CONFIG_* symbols. Signed-off-by: Ralf Baechle --- 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