diff options
Diffstat (limited to 'arch/blackfin/include/asm/trace.h')
-rw-r--r-- | arch/blackfin/include/asm/trace.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/trace.h b/arch/blackfin/include/asm/trace.h index 312b596b9731..dc0aa55ae773 100644 --- a/arch/blackfin/include/asm/trace.h +++ b/arch/blackfin/include/asm/trace.h | |||
@@ -1,6 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Common header file for blackfin family of processors. | 2 | * header file for hardware trace functions |
3 | * | 3 | * |
4 | * Copyright 2007-2008 Analog Devices Inc. | ||
5 | * | ||
6 | * Licensed under the GPL-2 or later. | ||
4 | */ | 7 | */ |
5 | 8 | ||
6 | #ifndef _BLACKFIN_TRACE_ | 9 | #ifndef _BLACKFIN_TRACE_ |
@@ -25,6 +28,8 @@ extern unsigned long software_trace_buff[]; | |||
25 | 28 | ||
26 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON | 29 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON |
27 | 30 | ||
31 | #define trace_buffer_init() bfin_write_TBUFCTL(BFIN_TRACE_INIT) | ||
32 | |||
28 | #define trace_buffer_save(x) \ | 33 | #define trace_buffer_save(x) \ |
29 | do { \ | 34 | do { \ |
30 | (x) = bfin_read_TBUFCTL(); \ | 35 | (x) = bfin_read_TBUFCTL(); \ |