From: David Rientjes Date: Fri, 16 Nov 2012 22:14:52 +0000 (-0800) Subject: mips, arc: fix build failure X-Git-Tag: v3.7-rc6~2^2~8 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=18f694271b86ee279e88208550cc49fee206b544;p=~emulex%2Finfiniband.git 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 Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/mips/fw/arc/misc.c b/arch/mips/fw/arc/misc.c index 7cf80ca2c1d..f9f5307434c 100644 --- a/arch/mips/fw/arc/misc.c +++ b/arch/mips/fw/arc/misc.c @@ -11,6 +11,7 @@ */ #include #include +#include #include