xref: /openbmc/linux/arch/s390/include/asm/cpufeature.h (revision 58d33131)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Module interface for CPU features
4  *
5  * Copyright IBM Corp. 2015, 2022
6  * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
7  */
8 
9 #ifndef __ASM_S390_CPUFEATURE_H
10 #define __ASM_S390_CPUFEATURE_H
11 
12 enum {
13 	S390_CPU_FEATURE_MSA,
14 	S390_CPU_FEATURE_VXRS,
15 	S390_CPU_FEATURE_UV,
16 	MAX_CPU_FEATURES
17 };
18 
19 #define cpu_feature(feature)	(feature)
20 
21 int cpu_have_feature(unsigned int nr);
22 
23 #endif /* __ASM_S390_CPUFEATURE_H */
24