powerpc/64s: Include <asm/nmi.h> header file to fix a warning

Michael Ellerman patch-notifications at ellerman.id.au
Thu Mar 14 22:43:59 AEDT 2019

On Tue, 2019-03-12 at 20:18:23 UTC, Mathieu Malaterre wrote:
> Make sure to include <asm/nmi.h> to provide the following prototype:
> hv_nmi_check_nonrecoverable.
> Remove the following warning treated as error (W=1):
>   arch/powerpc/kernel/traps.c:393:6: error: no previous prototype for 'hv_nmi_check_nonrecoverable' [-Werror=missing-prototypes]
> Signed-off-by: Mathieu Malaterre <malat at debian.org>
> Reviewed-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list