From: Geert Uytterhoeven Date: Wed, 1 Sep 2021 07:09:28 +0000 (+0200) Subject: init: Revert accidental changes to print irqs_disabled() X-Git-Tag: baikal/aarch64/sdk6.1~5693 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=0f0cf76522f5e7ce3353dec5aebf5779985eae7c;p=kernel.git init: Revert accidental changes to print irqs_disabled() Commit 5e8775a8e8f3 ("xsurf100: drop include of lib8390.c") accidentally changed init/main.c. Revert that part. Fixes: 5e8775a8e8f3 ("xsurf100: drop include of lib8390.c") Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- diff --git a/init/main.c b/init/main.c index 3f72169344412..81a79a77db46c 100644 --- a/init/main.c +++ b/init/main.c @@ -1242,7 +1242,7 @@ trace_initcall_start_cb(void *data, initcall_t fn) { ktime_t *calltime = (ktime_t *)data; - printk(KERN_DEBUG "calling %pS @ %i irqs_disabled() %d\n", fn, task_pid_nr(current), irqs_disabled()); + printk(KERN_DEBUG "calling %pS @ %i\n", fn, task_pid_nr(current)); *calltime = ktime_get(); } @@ -1256,8 +1256,8 @@ trace_initcall_finish_cb(void *data, initcall_t fn, int ret) rettime = ktime_get(); delta = ktime_sub(rettime, *calltime); duration = (unsigned long long) ktime_to_ns(delta) >> 10; - printk(KERN_DEBUG "initcall %pS returned %d after %lld usecs, irqs_disabled() %d\n", - fn, ret, duration, irqs_disabled()); + printk(KERN_DEBUG "initcall %pS returned %d after %lld usecs\n", + fn, ret, duration); } static ktime_t initcall_calltime;