kernel/arch/sh/include/asm/spinlock_types.h
.. .. @@ -2,6 +2,10 @@ 2 2 #ifndef __ASM_SH_SPINLOCK_TYPES_H 3 3 #define __ASM_SH_SPINLOCK_TYPES_H 4 4 5 +#ifndef __LINUX_SPINLOCK_TYPES_H6 +# error "please don't include this file directly"7 +#endif8 +5 9 typedef struct { 6 10 volatile unsigned int lock; 7 11 } arch_spinlock_t;