Commit 67eafb3
committed
Handle special cases for CPU frequency data in /proc/cpuinfo
This adds special cases for:
- loongarch: https://github.com/torvalds/linux/blob/v6.15/arch/loongarch/kernel/proc.c#L42
- s390: https://github.com/torvalds/linux/blob/v6.15/arch/s390/kernel/processor.c#L335
These differ from all the other platforms in the Linux kernel and
weren't matched properly previously. There's an additional value
of "CPU MHz static" available for s390, which is always given
AFTER the dynamic value and thus would override the dynamic value;
we thus ignore the static CPU frequency given for s390 in favour of
the dynamic entry.
Fixes: #17111 parent a1f6502 commit 67eafb3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
| 597 | + | |
| 598 | + | |
597 | 599 | | |
598 | 600 | | |
599 | 601 | | |
| |||
0 commit comments