summaryrefslogtreecommitdiff
path: root/kern/llsync.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-04-29 21:52:54 +0200
committerRichard Braun <rbraun@sceen.net>2017-04-29 21:52:54 +0200
commitd78a948f0a1d8b7b3385944c736d7cffd8ca67a7 (patch)
tree73f5b4b37b73311d768670f1838688dd4505d47a /kern/llsync.c
parent6ba94ce79c8477758dd440d3563ffd4dd88883df (diff)
kern/printk: rename to printf
The printk functions are close enough to the printf ones to bear the same names.
Diffstat (limited to 'kern/llsync.c')
-rw-r--r--kern/llsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/llsync.c b/kern/llsync.c
index 023548a9..0c81c0ff 100644
--- a/kern/llsync.c
+++ b/kern/llsync.c
@@ -46,7 +46,7 @@
#include <kern/mutex.h>
#include <kern/param.h>
#include <kern/percpu.h>
-#include <kern/printk.h>
+#include <kern/printf.h>
#include <kern/spinlock.h>
#include <kern/sprintf.h>
#include <kern/syscnt.h>
@@ -123,7 +123,7 @@ llsync_process_global_checkpoint(void)
/* TODO Handle hysteresis */
if (!llsync_data.no_warning && (nr_works >= LLSYNC_NR_PENDING_WORKS_WARN)) {
llsync_data.no_warning = 1;
- printk("llsync: warning: large number of pending works\n");
+ printf("llsync: warning: large number of pending works\n");
}
if (llsync_data.nr_registered_cpus == 0) {