Commit 46fe23ac authored by Graf Yang's avatar Graf Yang Committed by Mike Frysinger

Blackfin: add C define of trace_buffer_init()

Have the C API trace funcs match the assembly API trace funcs.
Signed-off-by: default avatarGraf Yang <graf.yang@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent d887a1ce
......@@ -28,6 +28,8 @@ extern unsigned long software_trace_buff[];
#ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON
#define trace_buffer_init() bfin_write_TBUFCTL(BFIN_TRACE_INIT)
#define trace_buffer_save(x) \
do { \
(x) = bfin_read_TBUFCTL(); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment