[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yyiirdd26u0.wl@toshiba.co.jp>
Date: Wed, 07 Mar 2007 10:14:15 +0900
From: Tsutomu OWA <tsutomu.owa@...hiba.co.jp>
To: mingo@...e.hu
Cc: linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org,
tsutomu.owa@...hiba.co.jp
Subject: [patch 1/7 -rt] powerpc 2.6.20-rt8: fix compile error in bug.h
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 <tsutomu.owa@...hiba.co.jp>
-- 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 <linux/compiler.h>
+#ifndef __ASSEMBLY__
extern void __WARN_ON(const char *func, const char *file, const int line);
+#endif /* __ASSEMBLY__ */
#ifdef CONFIG_BUG
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists