From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932645AbXCGBOh (ORCPT ); Tue, 6 Mar 2007 20:14:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932890AbXCGBOh (ORCPT ); Tue, 6 Mar 2007 20:14:37 -0500 Received: from imx12.toshiba.co.jp ([61.202.160.132]:38573 "EHLO imx12.toshiba.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932645AbXCGBOg (ORCPT ); Tue, 6 Mar 2007 20:14:36 -0500 X-Greylist: delayed 647 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Mar 2007 20:14:36 EST Date: Wed, 07 Mar 2007 10:14:15 +0900 Message-ID: From: Tsutomu OWA To: mingo@elte.hu Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, tsutomu.owa@toshiba.co.jp Subject: [patch 1/7 -rt] powerpc 2.6.20-rt8: fix compile error in bug.h In-Reply-To: References: User-Agent: Wanderlust/2.8.1 (Something) Emacs/20.7 Mule/4.0 (HANANOEN) Organization: Software Engineering Center, TOSHIBA. MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org To fix the following compile error by enclosing it in ifndef __ASSEMBLY__/endif. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - include/asm-generic/bug.h include/asm-generic/bug.h: Assembler messages: include/asm-generic/bug.h:7: Error: Unrecognized opcode: `extern' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Signed-off-by: Tsutomu Owa -- owa diff -rup linux-rt8/include/asm-generic/bug.h rt/include/asm-generic/bug.h --- linux-rt8/include/asm-generic/bug.h 2007-02-20 14:30:39.000000000 +0900 +++ rt/include/asm-generic/bug.h 2007-02-20 15:48:42.000000000 +0900 @@ -3,7 +3,9 @@ #include +#ifndef __ASSEMBLY__ extern void __WARN_ON(const char *func, const char *file, const int line); +#endif /* __ASSEMBLY__ */ #ifdef CONFIG_BUG