提交 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
...@@ -655,7 +655,7 @@ static bool get_instruction(unsigned short *val, unsigned short *address) ...@@ -655,7 +655,7 @@ static bool get_instruction(unsigned short *val, unsigned short *address)
* These are the normal instructions which cause change of flow, which * These are the normal instructions which cause change of flow, which
* would be at the source of the trace buffer * 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) static void decode_instruction(unsigned short *address)
{ {
unsigned short opcode; unsigned short opcode;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册