[PATCH] powerpc/xmon: Fix build failure for 8xx
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Dec 10 22:30:23 AEDT 2020
On Mon, 30 Nov 2020 09:14:06 +0530, Ravi Bangoria wrote:
> 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.
Applied to powerpc/next.
[1/1] powerpc/xmon: Fix build failure for 8xx
https://git.kernel.org/powerpc/c/f3e90408019b353fd1fcd338091fb8d3c4a1c1a5
cheers
More information about the Linuxppc-dev
mailing list