提交 46fe23ac 编写于 作者: G Graf Yang 提交者: 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: NGraf Yang <graf.yang@analog.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册