We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b27a1b commit 7ba8df4Copy full SHA for 7ba8df4
include/asm-generic/simd.h
@@ -1,6 +1,10 @@
1
/* SPDX-License-Identifier: GPL-2.0 */
2
+#ifndef _ASM_GENERIC_SIMD_H
3
+#define _ASM_GENERIC_SIMD_H
4
-#include <linux/hardirq.h>
5
+#include <linux/compiler_attributes.h>
6
+#include <linux/preempt.h>
7
+#include <linux/types.h>
8
9
/*
10
* may_use_simd - whether it is allowable at this time to issue SIMD
@@ -13,3 +17,5 @@ static __must_check inline bool may_use_simd(void)
13
17
{
14
18
return !in_interrupt();
15
19
}
20
+
21
+#endif /* _ASM_GENERIC_SIMD_H */
0 commit comments