summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2012-11-16 23:14:52 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-11-16 23:33:04 +0100
commit18f694271b86ee279e88208550cc49fee206b544 (patch)
tree3f0f2ed2ab651821af8de877bcc27d087b78b3c7
parentmemcg: oom: fix totalpages calculation for memory.swappiness==0 (diff)
downloadlinux-18f694271b86ee279e88208550cc49fee206b544.tar.xz
linux-18f694271b86ee279e88208550cc49fee206b544.zip
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/mips/fw/arc/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/fw/arc/misc.c b/arch/mips/fw/arc/misc.c
index 7cf80ca2c1d2..f9f5307434c2 100644
--- 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>