Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+6 -6
+6 -6
arch/mips/include/uapi/asm/msgbuf.h
··· 14 14 15 15 struct msqid64_ds { 16 16 struct ipc64_perm msg_perm; 17 - #if defined(CONFIG_32BIT) && !defined(CONFIG_CPU_LITTLE_ENDIAN) 17 + #if !defined(__mips64) && defined(__MIPSEB__) 18 18 unsigned long __unused1; 19 19 #endif 20 20 __kernel_time_t msg_stime; /* last msgsnd time */ 21 - #if defined(CONFIG_32BIT) && defined(CONFIG_CPU_LITTLE_ENDIAN) 21 + #if !defined(__mips64) && defined(__MIPSEL__) 22 22 unsigned long __unused1; 23 23 #endif 24 - #if defined(CONFIG_32BIT) && !defined(CONFIG_CPU_LITTLE_ENDIAN) 24 + #if !defined(__mips64) && defined(__MIPSEB__) 25 25 unsigned long __unused2; 26 26 #endif 27 27 __kernel_time_t msg_rtime; /* last msgrcv time */ 28 - #if defined(CONFIG_32BIT) && defined(CONFIG_CPU_LITTLE_ENDIAN) 28 + #if !defined(__mips64) && defined(__MIPSEL__) 29 29 unsigned long __unused2; 30 30 #endif 31 - #if defined(CONFIG_32BIT) && !defined(CONFIG_CPU_LITTLE_ENDIAN) 31 + #if !defined(__mips64) && defined(__MIPSEB__) 32 32 unsigned long __unused3; 33 33 #endif 34 34 __kernel_time_t msg_ctime; /* last change time */ 35 - #if defined(CONFIG_32BIT) && defined(CONFIG_CPU_LITTLE_ENDIAN) 35 + #if !defined(__mips64) && defined(__MIPSEL__) 36 36 unsigned long __unused3; 37 37 #endif 38 38 unsigned long msg_cbytes; /* current number of bytes on queue */