summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/cpufeature.h
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-07-21 11:56:57 +0300
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 10:39:20 +0300
commit511ad531afd4090625def4d9aba1f5227bd44b8e (patch)
treeac43a26d80aa6d2957f6b8c4f028d12391c86b5e /arch/s390/include/asm/cpufeature.h
parent7e8403ecaf884f307b627f3c371475913dd29292 (diff)
downloadlinux-511ad531afd4090625def4d9aba1f5227bd44b8e.tar.xz
s390/hwcaps: shorten HWCAP defines
Remove s390 part of all HWCAP defines, just to make them shorter and easier to handle. The namespace is anyway per architecture. This is similar to what arm64 has. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/cpufeature.h')
-rw-r--r--arch/s390/include/asm/cpufeature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/cpufeature.h b/arch/s390/include/asm/cpufeature.h
index 1d007c6ede95..14cfd48d598e 100644
--- a/arch/s390/include/asm/cpufeature.h
+++ b/arch/s390/include/asm/cpufeature.h
@@ -23,7 +23,7 @@
#define MAX_ELF_HWCAP_FEATURES (8 * sizeof(elf_hwcap))
#define MAX_CPU_FEATURES MAX_ELF_HWCAP_FEATURES
-#define cpu_feature(feat) ilog2(HWCAP_S390_ ## feat)
+#define cpu_feature(feat) ilog2(HWCAP_ ## feat)
int cpu_have_feature(unsigned int nr);