linux-mips
[Top] [All Lists]

[patch] mips, arc: fix build failure

To: Ralf Baechle <ralf@linux-mips.org>, David Howells <dhowells@redhat.com>, Stephen Rothwell <sfr@canb.auug.org.au>
Subject: [patch] mips, arc: fix build failure
From: David Rientjes <rientjes@google.com>
Date: Mon, 12 Nov 2012 23:45:06 -0800 (PST)
Cc: linux-mips@linux-mips.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Linus <torvalds@linux-foundation.org>, Andrew Morton <akpm@linux-foundation.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=jEC4ZuooUd0KVQD1qfb9u3fYaJuy66puN29jEN3i+4s=; b=dI/pcdOHaHTY+xbHk1LrZ1+uvkHmMva0n/tGLq4QxoyY9D0+OJrq1Y7Bu5jLZhjjw+ QOGbevgvZJ6m+b7puBOvZPEi0fE/02p4ymzllh8qDJmH2y+gxSqj6ev0zdX2tVFfhelg 1/bsQcH2X/8UalgRhSavmnI84USdmZ7W+Dn8WppgMsNga8CSPuZOT2dpctmq7/4gTtPX q18g3fMRhte4FMm5RS28HuDsIgw+ec5QV27GaNpaCyCCITdvZkgfhkmKXnxJ4/XYIVWR YHvoE7gGEfunto5Tr5g/RgbhMgQvRyeFnk33JIXVsj1wy/guAfNt+hvehHU/xUnd9LUL ly/w==
In-reply-to: <20121113170046.48e2c790d5c6c1e5f51c593d@canb.auug.org.au>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <20121113170046.48e2c790d5c6c1e5f51c593d@canb.auug.org.au>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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>
 

<Prev in Thread] Current Thread [Next in Thread>