kernel/arch/hexagon/include/asm/spinlock_types.h
.. .. @@ -8,6 +8,10 @@ 8 8 #ifndef _ASM_SPINLOCK_TYPES_H 9 9 #define _ASM_SPINLOCK_TYPES_H 10 10 11 +#ifndef __LINUX_SPINLOCK_TYPES_H12 +# error "please don't include this file directly"13 +#endif14 +11 15 typedef struct { 12 16 volatile unsigned int lock; 13 17 } arch_spinlock_t;