summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMichael Schmitz <schmitzmic@gmail.com>2021-08-03 13:40:45 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-03 13:05:26 +0100
commitf8ade8dddb167eecd369eb3b185a5772c2d7d09b (patch)
tree484d94c4b89fdfed459982e36ca62e5bf2c0d20d /init
parent375df5f8c1812c59930cfed14ff4cc15929c8f2f (diff)
downloadlinux-f8ade8dddb167eecd369eb3b185a5772c2d7d09b.tar.gz
linux-f8ade8dddb167eecd369eb3b185a5772c2d7d09b.tar.bz2
linux-f8ade8dddb167eecd369eb3b185a5772c2d7d09b.zip
xsurf100: drop include of lib8390.c
Now that ax88796.c exports the ax_NS8390_reinit() symbol, we can include 8390.h instead of lib8390.c, avoiding duplication of that function and killing a few compile warnings in the bargain. Fixes: 861928f4e60e826c ("net-next: New ax88796 platform driver for Amiga X-Surf 100 Zorro board (m68k)") Signed-off-by: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
-rw-r--r--init/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/init/main.c b/init/main.c
index f5b8246e8aa1..11cbbec309fa 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1221,7 +1221,7 @@ trace_initcall_start_cb(void *data, initcall_t fn)
{
ktime_t *calltime = (ktime_t *)data;
- printk(KERN_DEBUG "calling %pS @ %i\n", fn, task_pid_nr(current));
+ printk(KERN_DEBUG "calling %pS @ %i irqs_disabled() %d\n", fn, task_pid_nr(current), irqs_disabled());
*calltime = ktime_get();
}
@@ -1235,8 +1235,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\n",
- fn, ret, duration);
+ printk(KERN_DEBUG "initcall %pS returned %d after %lld usecs, irqs_disabled() %d\n",
+ fn, ret, duration, irqs_disabled());
}
static ktime_t initcall_calltime;