hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/linux/nospec.h
....@@ -11,6 +11,10 @@
1111
1212 struct task_struct;
1313
14
+#ifndef barrier_nospec
15
+# define barrier_nospec() do { } while (0)
16
+#endif
17
+
1418 /**
1519 * array_index_mask_nospec() - generate a ~0 mask when index < size, 0 otherwise
1620 * @index: array element index