]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: add find_implementer() for ARM implementer lookup
authorKarel Zak <kzak@redhat.com>
Thu, 28 May 2026 10:01:01 +0000 (12:01 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 28 May 2026 10:01:01 +0000 (12:01 +0200)
commit50c0c0d678ba690be7884c0182435f3a88ad0b87
tree6b5b2a34fa50b8319365de964fcf7700667b1f88
parent47227d195377ddfcf4220e25f904178f3e9c3b5f
lscpu: add find_implementer() for ARM implementer lookup

Refactor ARM implementer lookup into a dedicated find_implementer()
function and use it in is_arm() and arm_ids_decode() to simplify
the code and avoid open-coded linear searches.

Addresses: https://github.com/util-linux/util-linux/pull/4362
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu-arm.c