Title: [7490] trunk/arch/blackfin/include/asm/trace.h: Add define of trace_buffer_init
- Revision
- 7490
- Author
- gyang
- Date
- 2009-09-28 05:23:05 -0400 (Mon, 28 Sep 2009)
Log Message
Add define of trace_buffer_init
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/trace.h (7489 => 7490)
--- trunk/arch/blackfin/include/asm/trace.h 2009-09-28 09:21:51 UTC (rev 7489)
+++ trunk/arch/blackfin/include/asm/trace.h 2009-09-28 09:23:05 UTC (rev 7490)
@@ -28,6 +28,11 @@
#ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON
+#define trace_buffer_init() \
+ do { \
+ bfin_write_TBUFCTL(BFIN_TRACE_INIT); \
+ } while (0)
+
#define trace_buffer_save(x) \
do { \
(x) = bfin_read_TBUFCTL(); \
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits