[PATCH] ARM: include linux/bug.h in insn.c

Sergei Shtylyov sshtylyov at mvista.com
Sat Mar 31 17:21:59 EDT 2012


Hello.

On 31-03-2012 1:13, Joachim Eastwood wrote:

> After commit d82227cf8 building the kernel fails with:

    Please also specify that commit summary in parens.

>    arch/arm/kernel/insn.c: In function '__arm_gen_branch_thumb2':
>    arch/arm/kernel/insn.c:13: error: implicit declaration of function 'WARN_ON_ONCE'
>    make[1]: *** [arch/arm/kernel/insn.o] Error 1
>    make: *** [arch/arm/kernel] Error 2

> insn.c uses WARN_ON_ONCE so lets include bug.h.

    Let's.

> Signed-off-by: Joachim Eastwood<joachim.eastwood at jotron.com>

WBR, Sergei



More information about the linux-arm-kernel mailing list