]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: Parse loongarch specific lines
authorXi Ruoyao <xry111@xry111.site>
Wed, 22 Mar 2023 12:44:19 +0000 (20:44 +0800)
committerXi Ruoyao <xry111@xry111.site>
Wed, 22 Mar 2023 13:02:22 +0000 (21:02 +0800)
commit59370266151d2bcbe103fab053ad7db85cb02825
treed0115bfb669d5a4d4b6765409e9f4c7215560945
parentbccae5d85831c4cfa6b5d147acec739bd3c148b9
lscpu: Parse loongarch specific lines

/proc/cpuinfo on loongarch uses UPPERCASE letters in some field names.
Add the patterns for them.

"Address Sizes", "CPU Family", "CPU Revision" (aka "Model"), and
"Model Name" are correctly outputed, but "CPU MHz" not (because we
don't have a CPUFreq driver yet).

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
sys-utils/lscpu-cputype.c