We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dc4c99 commit d52fec8Copy full SHA for d52fec8
arch/loongarch/kernel/cpu-probe.c
@@ -94,7 +94,7 @@ static void cpu_probe_common(struct cpuinfo_loongarch *c)
94
c->options = LOONGARCH_CPU_CPUCFG | LOONGARCH_CPU_CSR |
95
LOONGARCH_CPU_TLB | LOONGARCH_CPU_VINT | LOONGARCH_CPU_WATCH;
96
97
- elf_hwcap |= HWCAP_LOONGARCH_CRC32;
+ elf_hwcap = HWCAP_LOONGARCH_CPUCFG | HWCAP_LOONGARCH_CRC32;
98
99
config = read_cpucfg(LOONGARCH_CPUCFG1);
100
if (config & CPUCFG1_UAL) {
0 commit comments