diff options
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
| -rw-r--r-- | arch/arm64/kernel/cpuinfo.c | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index ca0685f33900..f6f7936be6e7 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -85,6 +85,13 @@ static const char *const hwcap_str[] = {  	"sb",  	"paca",  	"pacg", +	"dcpodp", +	"sve2", +	"sveaes", +	"svepmull", +	"svebitperm", +	"svesha3", +	"svesm4",  	NULL  }; @@ -167,7 +174,7 @@ static int c_show(struct seq_file *m, void *v)  #endif /* CONFIG_COMPAT */  		} else {  			for (j = 0; hwcap_str[j]; j++) -				if (elf_hwcap & (1 << j)) +				if (cpu_have_feature(j))  					seq_printf(m, " %s", hwcap_str[j]);  		}  		seq_puts(m, "\n"); |