Commit 36f649a5 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu
Browse files

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

parent 40059784
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
 * 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;