diff options
| author | Steve Passe <fsmp@FreeBSD.org> | 1997-08-24 17:26:37 +0000 |
|---|---|---|
| committer | Steve Passe <fsmp@FreeBSD.org> | 1997-08-24 17:26:37 +0000 |
| commit | e49f6a7c8d4188662de41be9ce26adcc2c9df5dc (patch) | |
| tree | 7fa884d7c6ae99b6f6b0faf8a3444d287bae40aa | |
| parent | 5651ff29eb9a0f3f809bbcfee42efc300f797ba0 (diff) | |
Notes
| -rw-r--r-- | sys/i386/isa/ipl_funcs.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sys/i386/isa/ipl_funcs.c b/sys/i386/isa/ipl_funcs.c index 60cfb27cbeeb..053224943f26 100644 --- a/sys/i386/isa/ipl_funcs.c +++ b/sys/i386/isa/ipl_funcs.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ipl_funcs.c,v 1.6 1997/08/23 23:15:19 smp Exp smp $ + * $Id: ipl_funcs.c,v 1.3 1997/08/24 00:05:18 fsmp Exp $ */ #include <sys/types.h> @@ -160,16 +160,6 @@ unsigned name(void) \ return (x); \ } -GENSPL(splbio, cpl |= bio_imask) -GENSPL(splclock, cpl = HWI_MASK | SWI_MASK) -GENSPL(splimp, cpl |= net_imask) -GENSPL(splnet, cpl |= SWI_NET_MASK) -GENSPL(splsoftclock, cpl = SWI_CLOCK_MASK) -GENSPL(splsofttty, cpl |= SWI_TTY_MASK) -GENSPL(splstatclock, cpl |= stat_imask) -GENSPL(splvm, cpl |= net_imask | bio_imask) - - /* * This version has to check for smp_active, * as calling simple_lock() (ie ss_lock) before then deadlocks the system. @@ -190,6 +180,15 @@ unsigned name(void) \ return (x); \ } +GENSPL2(splbio, cpl |= bio_imask) +GENSPL2(splclock, cpl = HWI_MASK | SWI_MASK) +GENSPL2(splimp, cpl |= net_imask) +GENSPL2(splnet, cpl |= SWI_NET_MASK) +GENSPL2(splsoftclock, cpl = SWI_CLOCK_MASK) +GENSPL2(splsofttty, cpl |= SWI_TTY_MASK) +GENSPL2(splstatclock, cpl |= stat_imask) +GENSPL2(splvm, cpl |= net_imask | bio_imask) + GENSPL2(splhigh, cpl = HWI_MASK | SWI_MASK) GENSPL2(spltty, cpl |= tty_imask) |
