forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/lib/xor-neon.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/lib/xor-neon.c
34 *
45 * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #include <linux/raid/xor.h>
....@@ -29,8 +26,9 @@
2926 * While older versions of GCC do not generate incorrect code, they fail to
3027 * recognize the parallel nature of these functions, and emit plain ARM code,
3128 * which is known to be slower than the optimized ARM code in asm-arm/xor.h.
29
+ *
30
+ * #warning This code requires at least version 4.6 of GCC
3231 */
33
-#warning This code requires at least version 4.6 of GCC
3432 #endif
3533
3634 #pragma GCC diagnostic ignored "-Wunused-variable"