On 6/8/20 8:12 PM, Sandipan Das wrote:
The size of the cpu set must be large enough for systems
with a very large number of CPUs. Otherwise, tests which
try to determine the first online CPU by calling
sched_getaffinity() will fail. This makes sure that the
size of the allocated cpu set is dependent on the number
of CPUs as reported by get_nprocs().
Fixes: 3752e453f6ba ("selftests/powerpc: Add tests of PMU EBBs")
Reported-by: Shirisha Ganta <redacted>
Signed-off-by: Sandipan Das <redacted>
LGTM,
Reviewed-by: Kamalesh Babulal <redacted>
--
Kamalesh