Skip to content

Commit 27fb10e

Browse files
Ionut Alexatorvalds
authored andcommitted
kernel/async.c: switch to pr_foo()
Signed-off-by: Ionut Alexa <ionut.m.alexa@gmail.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 61a04e5 commit 27fb10e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎kernel/async.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static void async_run_entry_fn(struct work_struct *work)
115115

116116
/* 1) run (and print duration) */
117117
if (initcall_debug && system_state == SYSTEM_BOOTING) {
118-
printk(KERN_DEBUG "calling %lli_%pF @ %i\n",
118+
pr_debug("calling %lli_%pF @ %i\n",
119119
(long long)entry->cookie,
120120
entry->func, task_pid_nr(current));
121121
calltime = ktime_get();
@@ -124,7 +124,7 @@ static void async_run_entry_fn(struct work_struct *work)
124124
if (initcall_debug && system_state == SYSTEM_BOOTING) {
125125
rettime = ktime_get();
126126
delta = ktime_sub(rettime, calltime);
127-
printk(KERN_DEBUG "initcall %lli_%pF returned 0 after %lld usecs\n",
127+
pr_debug("initcall %lli_%pF returned 0 after %lld usecs\n",
128128
(long long)entry->cookie,
129129
entry->func,
130130
(long long)ktime_to_ns(delta) >> 10);
@@ -285,7 +285,7 @@ void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain
285285
ktime_t uninitialized_var(starttime), delta, endtime;
286286

287287
if (initcall_debug && system_state == SYSTEM_BOOTING) {
288-
printk(KERN_DEBUG "async_waiting @ %i\n", task_pid_nr(current));
288+
pr_debug("async_waiting @ %i\n", task_pid_nr(current));
289289
starttime = ktime_get();
290290
}
291291

@@ -295,7 +295,7 @@ void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain
295295
endtime = ktime_get();
296296
delta = ktime_sub(endtime, starttime);
297297

298-
printk(KERN_DEBUG "async_continuing @ %i after %lli usec\n",
298+
pr_debug("async_continuing @ %i after %lli usec\n",
299299
task_pid_nr(current),
300300
(long long)ktime_to_ns(delta) >> 10);
301301
}

0 commit comments

Comments
 (0)