aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2021-02-19 17:56:48 +0100
committerMichael Ellerman <[email protected]>2021-03-24 14:09:29 +1100
commit9be77e11dade414d2fa63750aa5c754fac49d619 (patch)
treee83784213c3cb085bd7f1a4bf3f5bcdb134db463 /tools/perf/scripts/python/export-to-sqlite.py
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0 (diff)
powerpc/mm: Move the linear_mapping_mutex to the ifdef where it is used
The mutex linear_mapping_mutex is defined at the of the file while its only two user are within the CONFIG_MEMORY_HOTPLUG block. A compile without CONFIG_MEMORY_HOTPLUG set fails on PREEMPT_RT because its mutex implementation is smart enough to realize that it is unused. Move the definition of linear_mapping_mutex to ifdef block where it is used. Fixes: 1f73ad3e8d755 ("powerpc/mm: print warning in arch_remove_linear_mapping()") Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions