The canonical name is riscv, not riscv__. Newer compilers no longer
emit the latter.
This re-enables finding the nominal frequency from the CPU's clock.
I checked, and there are no remaining mistakes like this in the tree.
Differential D48122
ofw_cpu: fix __riscv preprocessor check mhorne on Dec 17 2024, 8:01 PM. Authored by
Details
The canonical name is riscv, not riscv__. Newer compilers no longer This re-enables finding the nominal frequency from the CPU's clock. I checked, and there are no remaining mistakes like this in the tree.
Diff Detail
Event TimelineComment Actions From grepping the tree this doesn't actually have any consequences currently, right, other than possible prints? The only real use I see is cpufreq, which we don't currently have for RISC-V.
|