// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Intel Corporation * * Author: Gayatri Kammela <[email protected]> * Author: Megha Dey <[email protected]> */ #ifdef CONFIG_AS_AVX512 #include <linux/raid/pq.h> #include "x86.h" static int raid6_has_avx512(void) { … } static void raid6_2data_recov_avx512(int disks, size_t bytes, int faila, int failb, void **ptrs) { … } static void raid6_datap_recov_avx512(int disks, size_t bytes, int faila, void **ptrs) { … } const struct raid6_recov_calls raid6_recov_avx512 = …; #else #warning "your version of binutils lacks AVX512 support" #endif