hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm64/include/asm/spinlock_types.h
....@@ -5,6 +5,10 @@
55 #ifndef __ASM_SPINLOCK_TYPES_H
66 #define __ASM_SPINLOCK_TYPES_H
77
8
+#if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)
9
+# error "please don't include this file directly"
10
+#endif
11
+
812 #include <asm-generic/qspinlock_types.h>
913 #include <asm-generic/qrwlock_types.h>
1014