From efbc8ef7df9425ed2171c341c62979657387bfa5 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 20 Jul 2004 20:19:53 +0000 Subject: protect printf with a mutex instead of SIMPLELOCK. --- sys/kern/init_main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/kern/init_main.c') 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(); -- cgit v1.2.3