aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLABBE Corentin <[email protected]>2017-08-16 14:34:44 +0200
committerMichael Ellerman <[email protected]>2017-08-28 22:09:57 +1000
commit6538ac30841638b2fd345725a9fd155c6fe1768a (patch)
tree7b201f2a788a476289204c2e84e04ad82a5c4b9e /tools/perf/scripts/python/stackcollapse.py
parent1f84c2624a2d75c9f69214ed83f11dd30a8ae83d (diff)
powerpc/powernv: Fix build error in opal-imc.c when NUMA=n
When building a random powerpc kernel I hit this build error: arch/powerpc/platforms/powernv/opal-imc.c:130:13: error : assignment discards « const » qualifier from pointer target type [-Werror=discarded-qualifiers] l_cpumask = cpumask_of_node(nid); ^ This happens because when CONFIG_NUMA=n cpumask_of_node() returns a const pointer. This patch simply adds const to l_cpumask to fix this issue. Signed-off-by: Corentin Labbe <[email protected]> Reviewed-by: Madhavan Srinivasan <[email protected]> [mpe: Flesh out change log] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions