kernel/arch/xtensa/include/asm/spinlock_types.h
.. .. @@ -2,6 +2,10 @@ 2 2 #ifndef __ASM_SPINLOCK_TYPES_H 3 3 #define __ASM_SPINLOCK_TYPES_H 4 4 5 +#if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)6 +# error "please don't include this file directly"7 +#endif8 +5 9 #include <asm-generic/qspinlock_types.h> 6 10 #include <asm-generic/qrwlock_types.h> 7 11