diff options
| author | 2020-11-30 09:14:06 +0530 | |
|---|---|---|
| committer | 2020-12-04 01:01:20 +1100 | |
| commit | f3e90408019b353fd1fcd338091fb8d3c4a1c1a5 (patch) | |
| tree | 50e7fb42293f7e6ba27c5ea6923eb2b91b3d8d10 /tools/perf/scripts/python/stackcollapse.py | |
| parent | powerpc: Use common STABS_DEBUG and DWARF_DEBUG and ELF_DETAILS macro (diff) | |
powerpc/xmon: Fix build failure for 8xx
With CONFIG_PPC_8xx and CONFIG_XMON set, kernel build fails with
arch/powerpc/xmon/xmon.c:1379:12: error: 'find_free_data_bpt' defined
but not used [-Werror=unused-function]
Fix it by enclosing find_free_data_bpt() inside #ifndef CONFIG_PPC_8xx.
Fixes: 30df74d67d48 ("powerpc/watchpoint/xmon: Support 2nd DAWR")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201130034406.288047-1-ravi.bangoria@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
