summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/bfin-global.h
diff options
context:
space:
mode:
authorRobin Getz2010-03-11 20:26:38 +0100
committerMike Frysinger2010-05-21 15:40:18 +0200
commitd28cff4b615c2da274922311cef024d52c839870 (patch)
treedb6ef07c3159244b1ab1b870d7956746888f77c2 /arch/blackfin/include/asm/bfin-global.h
parentBlackfin: split kernel/traps.c (diff)
downloadkernel-qcow2-linux-d28cff4b615c2da274922311cef024d52c839870.tar.gz
kernel-qcow2-linux-d28cff4b615c2da274922311cef024d52c839870.tar.xz
kernel-qcow2-linux-d28cff4b615c2da274922311cef024d52c839870.zip
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/include/asm/bfin-global.h')
-rw-r--r--arch/blackfin/include/asm/bfin-global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bfin-global.h b/arch/blackfin/include/asm/bfin-global.h
index e6485c305ea6..121cc04d877d 100644
--- a/arch/blackfin/include/asm/bfin-global.h
+++ b/arch/blackfin/include/asm/bfin-global.h
@@ -39,9 +39,15 @@ extern unsigned long sclk_to_usecs(unsigned long sclk);
extern unsigned long usecs_to_sclk(unsigned long usecs);
struct pt_regs;
+#if defined(CONFIG_DEBUG_VERBOSE)
extern void dump_bfin_process(struct pt_regs *regs);
extern void dump_bfin_mem(struct pt_regs *regs);
extern void dump_bfin_trace_buffer(void);
+#else
+#define dump_bfin_process(regs)
+#define dump_bfin_mem(regs)
+#define dump_bfin_trace_buffer()
+#endif
/* init functions only */
extern int init_arch_irq(void);