diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-17 15:07:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-17 15:07:38 +0000 |
commit | 562596f142bf35cea45c49e66fa8dd020c0a88d4 (patch) | |
tree | cc3b4701f23214e926c6914ea14932225c151642 /sys/dev/i2o/ioprbsvar.h | |
parent | 707304aa147cefc675651c84c93c78f48fb487ee (diff) |
de-abstract and just use splbio() and splx()
Diffstat (limited to 'sys/dev/i2o/ioprbsvar.h')
-rw-r--r-- | sys/dev/i2o/ioprbsvar.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/i2o/ioprbsvar.h b/sys/dev/i2o/ioprbsvar.h index e072e861545..c44447ddebd 100644 --- a/sys/dev/i2o/ioprbsvar.h +++ b/sys/dev/i2o/ioprbsvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ioprbsvar.h,v 1.2 2005/09/15 05:33:39 krw Exp $ */ +/* $OpenBSD: ioprbsvar.h,v 1.3 2007/10/17 15:07:37 deraadt Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -87,10 +87,4 @@ struct ioprbs_softc { */ #define IOPRBS_WATCH_TIMEOUT 10000 /* 10000 * 1ms = 10s */ - -/* XXX These have to become spinlocks in case of SMP */ -#define IOPRBS_LOCK(sc) splbio() -#define IOPRBS_UNLOCK(sc, lock) splx(lock) -typedef int ioprbs_lock_t; - #endif /* !_I2O_IOPRMSVAR_H_ */ |