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

From: [email-masked] (Sergei Shtylyov)
Date: Sun, 01 Apr 2012 01:21:59 +0400

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<[email-masked]>

WBR, Sergei