hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/alpha/include/asm/spinlock_types.h
....@@ -2,6 +2,10 @@
22 #ifndef _ALPHA_SPINLOCK_TYPES_H
33 #define _ALPHA_SPINLOCK_TYPES_H
44
5
+#ifndef __LINUX_SPINLOCK_TYPES_H
6
+# error "please don't include this file directly"
7
+#endif
8
+
59 typedef struct {
610 volatile unsigned int lock;
711 } arch_spinlock_t;