hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/x86/include/asm/xor_avx.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _ASM_X86_XOR_AVX_H
23 #define _ASM_X86_XOR_AVX_H
34
....@@ -8,14 +9,7 @@
89 * Author: Jim Kukunas <james.t.kukunas@linux.intel.com>
910 *
1011 * Based on Ingo Molnar and Zach Brown's respective MMX and SSE routines
11
- *
12
- * This program is free software; you can redistribute it and/or
13
- * modify it under the terms of the GNU General Public License
14
- * as published by the Free Software Foundation; version 2
15
- * of the License.
1612 */
17
-
18
-#ifdef CONFIG_AS_AVX
1913
2014 #include <linux/compiler.h>
2115 #include <asm/fpu/api.h>
....@@ -174,11 +168,4 @@
174168 #define AVX_SELECT(FASTEST) \
175169 (boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_OSXSAVE) ? &xor_block_avx : FASTEST)
176170
177
-#else
178
-
179
-#define AVX_XOR_SPEED {}
180
-
181
-#define AVX_SELECT(FASTEST) (FASTEST)
182
-
183
-#endif
184171 #endif