summaryrefslogtreecommitdiffstats
path: root/runtime/print_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/print_old.c')
-rw-r--r--runtime/print_old.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/print_old.c b/runtime/print_old.c
index 401d1af1..5ee050b5 100644
--- a/runtime/print_old.c
+++ b/runtime/print_old.c
@@ -16,9 +16,8 @@
* @note Preemption must be disabled to use this.
*/
-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 */