diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-02-26 15:44:47 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-02-26 15:44:47 +0000 |
commit | 79cc1d484839c0614610cb6b92b13eece675e068 (patch) | |
tree | db68cce58a817494820e2b1c1e5d1ac2314fdc02 /sys/dev | |
parent | fa80c91d51fef601051d6739260910433b1d8046 (diff) |
Initialize the simple lock properly.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/cy82c693.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/cy82c693.c b/sys/dev/pci/cy82c693.c index 9855fb654d5..acab5fdf386 100644 --- a/sys/dev/pci/cy82c693.c +++ b/sys/dev/pci/cy82c693.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cy82c693.c,v 1.2 2001/01/16 15:37:53 art Exp $ */ +/* $OpenBSD: cy82c693.c,v 1.3 2001/02/26 15:44:46 art Exp $ */ /* $NetBSD: cy82c693.c,v 1.1 2000/06/06 03:07:39 thorpej Exp $ */ /*- @@ -60,9 +60,7 @@ static struct cy82c693_handle cyhc_handle; static int cyhc_initialized; -#if 0 /* SMP */ -static struct simplelock cyhc_slock = SIMPLELOCK_INITIALIZER; -#endif +static struct simplelock cyhc_slock = SLOCK_INITIALIZER; #define CYHC_LOCK(s) \ do { \ |