[PATCH 4.17 047/220] powerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus()