]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu, chcpu: Avoid use of the old CPU macros
authorStanislav Brabec <sbrabec@suse.cz>
Wed, 9 May 2018 16:08:32 +0000 (18:08 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Jul 2018 13:42:42 +0000 (15:42 +0200)
commit85605dcefb736791a849b2d59ad59f26c1f08acf
tree44f4a7b303fb9c388a367cd76470069b474e52ac
parente2e6fdd423e3abb9d9a0249fe6be3bc8cfbfa9cf
lscpu, chcpu: Avoid use of the old CPU macros

The old CPU macros are limited to 1024 cores. As a result, lscpu cannot
count sockets on large systems. Use new scalable macros.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Cc: Michael Matz <matz@suse.de>
sys-utils/chcpu.c
sys-utils/lscpu.c