Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [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

* Re: [patch] mips, arc: fix build failure
  2012-11-13  7:45 ` [patch] mips, arc: fix build failure David Rientjes
@ 2012-11-13 15:23   ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2012-11-13 15:23 UTC (permalink / raw)
  To: David Rientjes
  Cc: David Howells, Stephen Rothwell, linux-mips, linux-next,
	linux-kernel, Linus, Andrew Morton

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-13 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20121113170046.48e2c790d5c6c1e5f51c593d@canb.auug.org.au>
2012-11-13  7:45 ` [patch] mips, arc: fix build failure David Rientjes
2012-11-13 15:23   ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox