Return-Path: Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id A0A82DDEDD for ; Wed, 7 Mar 2007 12:14:34 +1100 (EST) Date: Wed, 07 Mar 2007 10:14:15 +0900 Message-ID: From: Tsutomu OWA To: mingo@elte.hu Subject: [patch 1/7 -rt] powerpc 2.6.20-rt8: fix compile error in bug.h In-Reply-To: References: MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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