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

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Mar 31 04:16:59 EDT 2012


On Fri, Mar 30, 2012 at 11:13:22PM +0200, Joachim Eastwood wrote:
> After commit d82227cf8 building the kernel fails with:
>   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.

I already have this in my tree.



More information about the linux-arm-kernel mailing list