提交 36f649a5 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

Blackfin arch: do not define decode_instruction if hwtrace is turned off

Signed-off-by: NMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 40059784
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册