kernel/arch/powerpc/include/asm/spinlock_types.h
.. .. @@ -2,6 +2,10 @@ 2 2 #ifndef _ASM_POWERPC_SPINLOCK_TYPES_H 3 3 #define _ASM_POWERPC_SPINLOCK_TYPES_H 4 4 5 +#ifndef __LINUX_SPINLOCK_TYPES_H6 +# error "please don't include this file directly"7 +#endif8 +5 9 #ifdef CONFIG_PPC_QUEUED_SPINLOCKS 6 10 #include <asm-generic/qspinlock_types.h> 7 11 #include <asm-generic/qrwlock_types.h>