mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
Blackfin arch: do not define decode_instruction if hwtrace is turned off
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
4005978424
commit
36f649a55a
1 changed files with 2 additions and 2 deletions
|
@ -649,13 +649,13 @@ static bool get_instruction(unsigned short *val, unsigned short *address)
|
|||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* decode the instruction if we are printing out the trace, as it
|
||||
* makes things easier to follow, without running it through objdump
|
||||
* These are the normal instructions which cause change of flow, which
|
||||
* would be at the source of the trace buffer
|
||||
*/
|
||||
#ifdef CONFIG_DEBUG_VERBOSE
|
||||
#if defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_DEBUG_BFIN_HWTRACE_ON)
|
||||
static void decode_instruction(unsigned short *address)
|
||||
{
|
||||
unsigned short opcode;
|
||||
|
|
Loading…
Reference in a new issue