summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/spinlock_types.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-08-04 17:40:42 +0200
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-10-29 18:20:04 +0100
commitbf57d070e2bd6ae86a9ce57e8f0a36fac06e3db4 (patch)
tree4691a171b8fd08676eb0a4740480ee620a8dd9dd /arch/arm64/include/asm/spinlock_types.h
parent289d86acf1b4be461c4098dd856d9df060921157 (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/arm64/include/asm/spinlock_types.h')
-rw-r--r--arch/arm64/include/asm/spinlock_types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/spinlock_types.h b/arch/arm64/include/asm/spinlock_types.h
index a157ff465e27..f952fdda8346 100644
--- a/arch/arm64/include/asm/spinlock_types.h
+++ b/arch/arm64/include/asm/spinlock_types.h
@@ -16,10 +16,6 @@
#ifndef __ASM_SPINLOCK_TYPES_H
#define __ASM_SPINLOCK_TYPES_H
-#if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)
-# error "please don't include this file directly"
-#endif
-
#include <asm-generic/qspinlock_types.h>
#include <asm-generic/qrwlock_types.h>