aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPrarit Bhargava <[email protected]>2019-09-05 08:03:05 -0400
committerAndy Shevchenko <[email protected]>2019-09-07 21:19:13 +0300
commit3ec2aef1b03eefeffe93817bd04068d3805d4a98 (patch)
tree91dc1c54c772726f2f93da8ad97fdeb5f52ba709 /lib/test_overflow.c
parent43774c0dccb405a0b63a10829d45db4b74c29e40 (diff)
tools/power/x86/intel-speed-select: Fix cpu-count output
I have a system with 28 threads/socket but intel-speed-select reports a cpu-count of 29. Fix an off-by-one error in the cpu_count() function. Signed-off-by: Prarit Bhargava <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Cc: Srinivas Pandruvada <[email protected]> Cc: David Arcari <[email protected]> Cc: [email protected] Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions