]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mips, arc: fix build failure
authorDavid Rientjes <rientjes@google.com>
Thu, 15 Nov 2012 02:31:03 +0000 (13:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 02:31:03 +0000 (13:31 +1100)
commit29349b823d748c3109cd29b0b4b4f49cafee44d7
treec9fe8dd1cf8da2f11535d53ac27efea1032229a0
parent2e4a0cd73961f2eadc956fa8c4dbe7b5f648d3b2
mips, arc: fix build failure

Using a cross-compiler to fix another issue, the following build error
occurred for mips defconfig:

arch/mips/fw/arc/misc.c: In function 'ArcHalt':
arch/mips/fw/arc/misc.c:25:2: error: implicit declaration of function 'local_irq_disable'

Fix it up by including irqflags.h.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/fw/arc/misc.c