]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: show the number of physical socket on aarch64 machine without ACPI PPTT
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Fri, 20 Nov 2020 05:06:09 +0000 (00:06 -0500)
committerKarel Zak <kzak@redhat.com>
Fri, 20 Nov 2020 08:17:12 +0000 (09:17 +0100)
commitf42f105b07b25097f6c2eae3d6a3ccbc452cda5e
tree13e66e5aa2ddaa2669fd84dfe466353e24d7d263
parent788f90d69a43198e648442399967542e98e44d11
lscpu: show the number of physical socket on aarch64 machine without ACPI PPTT

Show the number of the number of physical socket even if the sysfs doesn't
have the physical socket information.

Note, lscpu shows the number of physical socket as 'Socket(s):' only if
root user runs it because accessing the DMI table requires root
privilege.

Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
sys-utils/lscpu-arm.c
sys-utils/lscpu.c
sys-utils/lscpu.h