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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/print_new.c b/runtime/print_new.c
index 43e37822..bebaa19c 100644
--- a/runtime/print_new.c
+++ b/runtime/print_new.c
@@ -57,7 +57,11 @@ void EXPORT_FN(stp_print_flush) (_stp_pbuf *pb)
void *buf;
unsigned long flags;
spin_lock_irqsave(&_stp_print_lock, flags);
+#if 0
buf = utt_reserve(_stp_utt, len);
+#else
+ buf = NULL;
+#endif
if (likely(buf))
memcpy(buf, pb->buf, len);
else