* [patch] mips, arc: fix build failure
[not found] <20121113170046.48e2c790d5c6c1e5f51c593d@canb.auug.org.au>
@ 2012-11-13 7:45 ` David Rientjes
2012-11-13 15:23 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: David Rientjes @ 2012-11-13 7:45 UTC (permalink / raw)
To: Ralf Baechle, David Howells, Stephen Rothwell
Cc: linux-mips, linux-next, linux-kernel, Linus, Andrew Morton
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>
---
arch/mips/fw/arc/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/fw/arc/misc.c b/arch/mips/fw/arc/misc.c
--- a/arch/mips/fw/arc/misc.c
+++ b/arch/mips/fw/arc/misc.c
@@ -11,6 +11,7 @@
*/
#include <linux/init.h>
#include <linux/kernel.h>
+#include <linux/irqflags.h>
#include <asm/bcache.h>
^ permalink raw reply [flat|nested] 2+ messages in thread