diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2004-07-20 20:19:53 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2004-07-20 20:19:53 +0000 |
commit | efbc8ef7df9425ed2171c341c62979657387bfa5 (patch) | |
tree | 78137e2a75e7365c57101d32f48992cb0362bdba /sys/kern/init_main.c | |
parent | 3007bd7d121c38b72cd0b72b8f749bfc55180df8 (diff) |
protect printf with a mutex instead of SIMPLELOCK.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 25666a6ff45..39f991b9ead 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.117 2004/06/24 19:35:24 tholo Exp $ */ +/* $OpenBSD: init_main.c,v 1.118 2004/07/20 20:19:52 art Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -187,7 +187,6 @@ main(framep) int s, i; register_t rval[2]; extern struct pdevinit pdevinit[]; - extern struct SIMPLELOCK kprintf_slock; extern void scheduler_start(void); extern void disk_init(void); extern void endtsleep(void *); @@ -214,8 +213,6 @@ main(framep) config_init(); /* init autoconfiguration data structures */ consinit(); - SIMPLE_LOCK_INIT(&kprintf_slock); - printf("%s\n", copyright); KERNEL_LOCK_INIT(); |