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>
This commit is contained in:

committed by
Mike Frysinger

parent
2a12c4632d
commit
d28cff4b61
@@ -23,8 +23,13 @@
|
||||
#ifndef __ASSEMBLY__
|
||||
extern unsigned long trace_buff_offset;
|
||||
extern unsigned long software_trace_buff[];
|
||||
#if defined(CONFIG_DEBUG_VERBOSE)
|
||||
extern void decode_address(char *buf, unsigned long address);
|
||||
extern bool get_instruction(unsigned short *val, unsigned short *address);
|
||||
#else
|
||||
#define decode_address(buf, address)
|
||||
#define get_instruction(val, address) 0
|
||||
#endif
|
||||
|
||||
/* Trace Macros for C files */
|
||||
|
||||
|
Reference in New Issue
Block a user