diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2017-08-04 17:40:42 +0200 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-10-29 18:20:04 +0100 |
commit | bf57d070e2bd6ae86a9ce57e8f0a36fac06e3db4 (patch) | |
tree | 4691a171b8fd08676eb0a4740480ee620a8dd9dd /arch/powerpc/include/asm/spinlock_types.h | |
parent | 289d86acf1b4be461c4098dd856d9df060921157 (diff) |
locking: don't check for __LINUX_SPINLOCK_TYPES_H on -RT archs
Upstream uses arch_spinlock_t within spinlock_t and requests that
spinlock_types.h header file is included first.
On -RT we have the rt_mutex with its raw_lock wait_lock which needs
architectures' spinlock_types.h header file for its definition. However
we need rt_mutex first because it is used to build the spinlock_t so
that check does not work for us.
Therefore I am dropping that check.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'arch/powerpc/include/asm/spinlock_types.h')
-rw-r--r-- | arch/powerpc/include/asm/spinlock_types.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/spinlock_types.h b/arch/powerpc/include/asm/spinlock_types.h index 87adaf13b7e8..7305cb6a53e4 100644 --- a/arch/powerpc/include/asm/spinlock_types.h +++ b/arch/powerpc/include/asm/spinlock_types.h @@ -2,10 +2,6 @@ #ifndef _ASM_POWERPC_SPINLOCK_TYPES_H #define _ASM_POWERPC_SPINLOCK_TYPES_H -#ifndef __LINUX_SPINLOCK_TYPES_H -# error "please don't include this file directly" -#endif - typedef struct { volatile unsigned int slock; } arch_spinlock_t; |