summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2016-08-01 09:32:51 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-08-09 09:52:00 +0300
commit9dc512819e4b723856773f5a018865c20441072f (patch)
tree21807c2cb5b2ac3c33be26aff8d9aaea3268ea9c /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbc14c49195e49b3231c01e4c44e3e5456c940b94 (diff)
downloadlinux-9dc512819e4b723856773f5a018865c20441072f.tar.xz
powerpc: Fix unused function warning 'lmb_to_memblock'
This patch fixes the following warning: arch/powerpc/platforms/pseries/hotplug-memory.c:323:29: error: 'lmb_to_memblock' defined but not used [-Werror=unused-function] static struct memory_block *lmb_to_memblock(struct of_drconf_cell *lmb) ^~~~~~~~~~~~~~~ The only consumer of this function is 'dlpar_remove_lmb', which is enabled with CONFIG_MEMORY_HOTREMOVE, so move it into the same ifdef block. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions