summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/traps.c
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2010-03-11 19:26:38 +0000
committerMike Frysinger <vapier@gentoo.org>2010-05-21 09:40:18 -0400
commitd28cff4b615c2da274922311cef024d52c839870 (patch)
treedb6ef07c3159244b1ab1b870d7956746888f77c2 /arch/blackfin/kernel/traps.c
parent2a12c4632db1c0c548a7023e63869b27c7789a92 (diff)
Blackfin: remove CONFIG_DEBUG_VERBOSE from trace.c
Now that the split traps code has moved all the verbose output to the trace.c file, we can unify all the CONFIG_DEBUG_VERBOSE handling. This gets rid of much of the crappy ifdef forest and enables usage of normal pr_xxx functions so checkpatch stops complaining. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/traps.c')
-rw-r--r--arch/blackfin/kernel/traps.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c
index 891cc39f7ee..7c31a3d7af2 100644
--- a/arch/blackfin/kernel/traps.c
+++ b/arch/blackfin/kernel/traps.c
@@ -554,3 +554,11 @@ int is_valid_bugaddr(unsigned long addr)
return opcode == BFIN_BUG_OPCODE;
}
#endif
+
+/* stub this out */
+#ifndef CONFIG_DEBUG_VERBOSE
+void show_regs(struct pt_regs *fp)
+{
+
+}
+#endif