Store SWI_MASK in a variable so that LKMs can use it portably.
This commit is contained in:
parent
eae4afa6c0
commit
43ba542895
@ -36,7 +36,7 @@
|
||||
*
|
||||
* @(#)ipl.s
|
||||
*
|
||||
* $Id: ipl.s,v 1.1 1997/05/26 17:58:27 fsmp Exp $
|
||||
* $Id: ipl.s,v 1.2 1997/05/31 09:03:52 peter Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -62,6 +62,8 @@ _tty_imask: .long 0
|
||||
_bio_imask: .long 0
|
||||
.globl _net_imask
|
||||
_net_imask: .long 0
|
||||
.globl _soft_imask
|
||||
_soft_imask: .long SWI_MASK
|
||||
.globl _softnet_imask
|
||||
_softnet_imask: .long SWI_NET_MASK
|
||||
.globl _softtty_imask
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)systm.h 8.7 (Berkeley) 3/29/95
|
||||
* $Id: systm.h,v 1.51 1997/05/29 04:46:07 peter Exp $
|
||||
* $Id: systm.h,v 1.52 1997/05/31 09:43:22 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSTM_H_
|
||||
@ -200,6 +200,7 @@ extern intrmask_t stat_imask; /* interrupts masked with splstatclock() */
|
||||
extern intrmask_t tty_imask; /* group of interrupts masked with spltty() */
|
||||
|
||||
/* Read only */
|
||||
extern const intrmask_t soft_imask; /* interrupts masked with splsoft*() */
|
||||
extern const intrmask_t softnet_imask; /* interrupt masked with splnet() */
|
||||
extern const intrmask_t softtty_imask; /* interrupt masked with splsofttty() */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user