hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/lib/raid6/avx2.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* -*- linux-c -*- ------------------------------------------------------- *
23 *
34 * Copyright (C) 2012 Intel Corporation
....@@ -5,21 +6,12 @@
56 *
67 * Based on sse2.c: Copyright 2002 H. Peter Anvin - All Rights Reserved
78 *
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
12
- * Boston MA 02111-1307, USA; either version 2 of the License, or
13
- * (at your option) any later version; incorporated herein by reference.
14
- *
159 * ----------------------------------------------------------------------- */
1610
1711 /*
1812 * AVX2 implementation of RAID-6 syndrome functions
1913 *
2014 */
21
-
22
-#ifdef CONFIG_AS_AVX2
2315
2416 #include <linux/raid/pq.h>
2517 #include "x86.h"
....@@ -476,5 +468,3 @@
476468 1 /* Has cache hints */
477469 };
478470 #endif
479
-
480
-#endif /* CONFIG_AS_AVX2 */