kernel/arch/arm64/include/asm/spinlock_types.h
.. .. @@ -5,6 +5,10 @@ 5 5 #ifndef __ASM_SPINLOCK_TYPES_H 6 6 #define __ASM_SPINLOCK_TYPES_H 7 7 8 +#if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)9 +# error "please don't include this file directly"10 +#endif11 +8 12 #include <asm-generic/qspinlock_types.h> 9 13 #include <asm-generic/qrwlock_types.h> 10 14