diff options
| author | 2004-07-20 20:19:52 +0000 | |
|---|---|---|
| committer | 2004-07-20 20:19:52 +0000 | |
| commit | 1696ab1b40f32c477a7be7a7014457cd15dbb86e (patch) | |
| tree | 4c8a003cfbaf5d6daff1ed4ce3ec0a65409f9765 /sys/kern/init_main.c | |
| parent | Use mutex instead of SIMPLELOCK for protecting ddb on mp systems. (diff) | |
| download | wireguard-openbsd-1696ab1b40f32c477a7be7a7014457cd15dbb86e.tar.xz wireguard-openbsd-1696ab1b40f32c477a7be7a7014457cd15dbb86e.zip | |
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(); |
