summaryrefslogtreecommitdiff
path: root/include/asm-mips/debug.h
diff options
context:
space:
mode:
authorRalf Bächle <ralf@linux-mips.org>2005-02-01 16:39:25 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-01 16:39:25 -0800
commite58595ec1d2a7f7c2a5ec56df087ccbd225c655b (patch)
tree1ee7c600d2603aba018a21b890c9ccd1fd19fa31 /include/asm-mips/debug.h
parent9ec0d34be3d025b5bac3bd76400d1407ccecbf01 (diff)
[PATCH] mips: generic MIPS updates
Update the generic MIPS code. Highlights are oprofile for MIPS, initially for the PMC-Sierra RM9000. We're also taking a significantly more aggressive approach to the TLB exception handlers which now are runtime generated and provide an upto 20% speedup on certain micro benchmarks. From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> This patch had fixed restore_sigcontext about MIPS. Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-mips/debug.h')
-rw-r--r--include/asm-mips/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/debug.h b/include/asm-mips/debug.h
index d71370708cc8..930f2b75e766 100644
--- a/include/asm-mips/debug.h
+++ b/include/asm-mips/debug.h
@@ -29,9 +29,9 @@
#include <linux/kernel.h>
#define db_assert(x) if (!(x)) { \
- panic("assertion failed at %s:%d: %s\n", __FILE__, __LINE__, #x); }
+ panic("assertion failed at %s:%d: %s", __FILE__, __LINE__, #x); }
#define db_warn(x) if (!(x)) { \
- printk(KERN_WARNING "warning at %s:%d: %s\n", __FILE__, __LINE__, #x); }
+ printk(KERN_WARNING "warning at %s:%d: %s", __FILE__, __LINE__, #x); }
#define db_verify(x, y) db_assert(x y)
#define db_verify_warn(x, y) db_warn(x y)
#define db_run(x) do { x; } while (0)