]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Change the data type for the variable 'ncpu' in IMC code
authorAnju T Sudhakar <anju@linux.vnet.ibm.com>
Tue, 31 Oct 2017 09:52:00 +0000 (15:22 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jan 2018 12:05:01 +0000 (23:05 +1100)
commit9d94023b6164ff01da1da4ad4e6de5c4bb2fc464
treec4e7164a2e3ca0ac46171476cfaae0564299f735
parentf47b706aecc8b5f24b62e0951ace40ec992c3b76
powerpc/perf: Change the data type for the variable 'ncpu' in IMC code

Change the data type for the variable 'ncpu' in ppc_core_imc_cpu_offline(),
since cpumask_any_but() returns an 'int' value.

Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/imc-pmu.c