summaryrefslogtreecommitdiff
path: root/lib/raid6/recov_rvv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/raid6/recov_rvv.c')
-rw-r--r--lib/raid6/recov_rvv.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/raid6/recov_rvv.c b/lib/raid6/recov_rvv.c
index 5f779719c3d3..40c393206b6a 100644
--- a/lib/raid6/recov_rvv.c
+++ b/lib/raid6/recov_rvv.c
@@ -4,13 +4,8 @@
* Author: Chunyan Zhang <zhangchunyan@iscas.ac.cn>
*/
-#include <asm/vector.h>
#include <linux/raid/pq.h>
-
-static int rvv_has_vector(void)
-{
- return has_vector();
-}
+#include "rvv.h"
static void __raid6_2data_recov_rvv(int bytes, u8 *p, u8 *q, u8 *dp,
u8 *dq, const u8 *pbmul,