diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-02-07 15:49:08 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-04 17:18:07 +0100 |
commit | db14f78ecb02292e5013d7f46cf01be4d006262d (patch) | |
tree | 3d4c114a05a190ef65ac56f3239b573d0c28d3b6 /lib/raid6 | |
parent | 52109a067aaa96474a5b0f12aee60d73cf5f92e1 (diff) |
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> |