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>
This commit is contained in:
Heiko Carstens 2025-02-07 15:49:08 +01:00 committed by Vasily Gorbik
commit db14f78ecb
5 changed files with 6 additions and 14 deletions

View file

@ -11,6 +11,7 @@
* This file is postprocessed using unroll.awk.
*/
#include <linux/cpufeature.h>
#include <linux/raid/pq.h>
#include <asm/fpu.h>