summaryrefslogtreecommitdiffstats
path: root/runtime/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/print.c')
-rw-r--r--runtime/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/print.c b/runtime/print.c
index ae220f28..eaea688d 100644
--- a/runtime/print.c
+++ b/runtime/print.c
@@ -76,7 +76,7 @@ void _stp_print_flush (void)
_stp_pbuf *pb = per_cpu_ptr(Stp_pbuf, smp_processor_id());
/* check to see if there is anything in the buffer */
- if (pb->len == 0)
+ if (likely (pb->len == 0))
return;
#ifdef STP_RELAYFS_MERGE