diff options
author | 2025-02-07 15:49:08 +0100 | |
---|---|---|
committer | 2025-03-04 17:18:07 +0100 | |
commit | db14f78ecb02292e5013d7f46cf01be4d006262d (patch) | |
tree | 3d4c114a05a190ef65ac56f3239b573d0c28d3b6 /lib/raid6 | |
parent | s390: Convert MACHINE_IS_[LPAR|VM|KVM], etc, machine_is_[lpar|vm|kvm]() (diff) | |
download | wireguard-linux-db14f78ecb02292e5013d7f46cf01be4d006262d.tar.xz wireguard-linux-db14f78ecb02292e5013d7f46cf01be4d006262d.zip |
s390/vx: Convert cpu_has_vx() to cpu feature function
Instead of having a private cpu_has_vx() implementation use the new common
cpu feature method. Move the facility detection to the decompressor so it
matches all other cpu features.
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'lib/raid6')
-rw-r--r-- | lib/raid6/s390vx.uc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/raid6/s390vx.uc b/lib/raid6/s390vx.uc index 863e2d320938..8aa53eb2f395 100644 --- a/lib/raid6/s390vx.uc +++ b/lib/raid6/s390vx.uc @@ -11,6 +11,7 @@ * This file is postprocessed using unroll.awk. */ +#include <linux/cpufeature.h> #include <linux/raid/pq.h> #include <asm/fpu.h> |