On Tue, May 4, 2010 at 14:37,  <[email protected]> wrote:
> Modified: trunk/arch/blackfin/kernel/trace.c (8686 => 8687)
>
> -     if ((opcode & 0xffffff00) == ProgCtrl_opcode)
> +     if (opcode == BFIN_BUG_OPCODE)
> +             pr_cont("BUG");
> +     else if ((opcode & 0xffffff00) == ProgCtrl_opcode)
>               decode_ProgCtrl_0(opcode);
>       else if ((opcode & 0xfffff000) == BRCC_opcode)
>               decode_BRCC_0(opcode);

this build fails when CONFIG_BUG is not set ...
arch/blackfin/kernel/trace.c: In function ‘decode_opcode’:
arch/blackfin/kernel/trace.c:590: error: ‘BFIN_BUG_OPCODE’ undeclared
(first use in this function)
arch/blackfin/kernel/trace.c:590: error: (Each undeclared identifier
is reported only once
arch/blackfin/kernel/trace.c:590: error: for each function it appears in.)
make[1]: *** [arch/blackfin/kernel/trace.o] Error 1
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to