aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/bug.h
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2020-11-30 09:14:06 +0530
committerMichael Ellerman <[email protected]>2020-12-04 01:01:20 +1100
commitf3e90408019b353fd1fcd338091fb8d3c4a1c1a5 (patch)
tree50e7fb42293f7e6ba27c5ea6923eb2b91b3d8d10 /arch/powerpc/include/asm/bug.h
parenta21df7a1d6ca9bd387a17841863a99431c4aa730 (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 <[email protected]> Signed-off-by: Ravi Bangoria <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/bug.h')
0 files changed, 0 insertions, 0 deletions