projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d887a1c
)
Blackfin: add C define of trace_buffer_init()
author
Graf Yang
<graf.yang@analog.com>
Mon, 28 Sep 2009 09:23:05 +0000
(09:23 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 15 Dec 2009 05:14:03 +0000
(
00:14
-0500)
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>
arch/blackfin/include/asm/trace.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/include/asm/trace.h
b/arch/blackfin/include/asm/trace.h
index 609ad3c841891c0bb59cb9784edf113da932ed39..dc0aa55ae773420fb426733e0b437d089580a692 100644
(file)
--- a/
arch/blackfin/include/asm/trace.h
+++ b/
arch/blackfin/include/asm/trace.h
@@
-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(); \