summaryrefslogtreecommitdiffstats
path: root/runtime/print_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/print_new.c')
-rw-r--r--runtime/print_new.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/print_new.c b/runtime/print_new.c
index b34aad8a..95a83a8d 100644
--- a/runtime/print_new.c
+++ b/runtime/print_new.c
@@ -17,9 +17,8 @@
*/
spinlock_t _stp_print_lock = SPIN_LOCK_UNLOCKED;
-void _stp_print_flush (void)
+void EXPORT_FN(stp_print_flush) (_stp_pbuf *pb)
{
- _stp_pbuf *pb = per_cpu_ptr(Stp_pbuf, smp_processor_id());
uint32_t len = pb->len;
/* check to see if there is anything in the buffer */