diff options
Diffstat (limited to 'arch/blackfin/include/asm/trace.h')
| -rw-r--r-- | arch/blackfin/include/asm/trace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/trace.h b/arch/blackfin/include/asm/trace.h index 609ad3c84189..dc0aa55ae773 100644 --- a/arch/blackfin/include/asm/trace.h +++ b/arch/blackfin/include/asm/trace.h | |||
| @@ -28,6 +28,8 @@ extern unsigned long software_trace_buff[]; | |||
| 28 | 28 | ||
| 29 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON | 29 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON |
| 30 | 30 | ||
| 31 | #define trace_buffer_init() bfin_write_TBUFCTL(BFIN_TRACE_INIT) | ||
| 32 | |||
| 31 | #define trace_buffer_save(x) \ | 33 | #define trace_buffer_save(x) \ |
| 32 | do { \ | 34 | do { \ |
| 33 | (x) = bfin_read_TBUFCTL(); \ | 35 | (x) = bfin_read_TBUFCTL(); \ |
