hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/powerpc/include/asm/spinlock_types.h
....@@ -2,6 +2,10 @@
22 #ifndef _ASM_POWERPC_SPINLOCK_TYPES_H
33 #define _ASM_POWERPC_SPINLOCK_TYPES_H
44
5
+#ifndef __LINUX_SPINLOCK_TYPES_H
6
+# error "please don't include this file directly"
7
+#endif
8
+
59 #ifdef CONFIG_PPC_QUEUED_SPINLOCKS
610 #include <asm-generic/qspinlock_types.h>
711 #include <asm-generic/qrwlock_types.h>