Store the macro values for SWI_TTY_MASK and SWI_NET_MASK in variables to

that lkm's can use them for fiddling the masks without being dependent on
which mode the kernel is compiled in (SMP or UP).  This is particularly
for ppp_tty.c which has some domain crossing between the net and tty
subsystems.  The values are not used in the spl code, they are for
reference only (ie: the compiled code uses immediate values rather than
an indirect 32 bit address and 32 bit data fetch).
This commit is contained in:
Peter Wemm 1997-05-31 09:03:52 +00:00
parent 0589fe3b6e
commit dfa67ec76e

View file

@ -36,7 +36,7 @@
*
* @(#)ipl.s
*
* $Id: ipl.s,v 1.1 1997/05/24 17:02:30 smp Exp smp $
* $Id: ipl.s,v 1.1 1997/05/26 17:58:27 fsmp Exp $
*/
@ -62,6 +62,11 @@ _tty_imask: .long 0
_bio_imask: .long 0
.globl _net_imask
_net_imask: .long 0
.globl _softnet_imask
_softnet_imask: .long SWI_NET_MASK
.globl _softtty_imask
_softtty_imask: .long SWI_TTY_MASK
.globl _ipending
/* pending interrupts blocked by splxxx() */