Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Blackfin: add C define of trace_buffer_init()

Have the C API trace funcs match the assembly API trace funcs.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

authored by

Graf Yang and committed by
Mike Frysinger
46fe23ac d887a1ce

+2
+2
arch/blackfin/include/asm/trace.h
··· 28 28 29 29 #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON 30 30 31 + #define trace_buffer_init() bfin_write_TBUFCTL(BFIN_TRACE_INIT) 32 + 31 33 #define trace_buffer_save(x) \ 32 34 do { \ 33 35 (x) = bfin_read_TBUFCTL(); \