hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/xtensa/include/asm/spinlock_types.h
....@@ -2,6 +2,10 @@
22 #ifndef __ASM_SPINLOCK_TYPES_H
33 #define __ASM_SPINLOCK_TYPES_H
44
5
+#if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)
6
+# error "please don't include this file directly"
7
+#endif
8
+
59 #include <asm-generic/qspinlock_types.h>
610 #include <asm-generic/qrwlock_types.h>
711