summaryrefslogtreecommitdiff
path: root/kern/work.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/work.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/work.c')
-rw-r--r--kern/work.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/work.c b/kern/work.c
index f6309e79..a81e8de3 100644
--- a/kern/work.c
+++ b/kern/work.c
@@ -27,7 +27,7 @@
#include <kern/panic.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>
@@ -375,7 +375,7 @@ work_process(void *arg)
if (error) {
work_pool_free_id(pool, id);
- printk("work: warning: unable to create worker thread\n");
+ printf("work: warning: unable to create worker thread\n");
}
}
}
@@ -491,7 +491,7 @@ work_setup(void)
work_pool_init(&work_pool_highprio, WORK_INVALID_CPU,
WORK_PF_GLOBAL | WORK_PF_HIGHPRIO);
- printk("work: threads per pool (per-cpu/global): %u/%u, spare: %u\n",
+ printf("work: threads per pool (per-cpu/global): %u/%u, spare: %u\n",
percpu_var(work_pool_cpu_main.max_threads, 0),
work_pool_main.max_threads, WORK_THREADS_SPARE);
}