aboutsummaryrefslogtreecommitdiff
path: root/sys/net/ppp_tty.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-05-31 09:49:35 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-05-31 09:49:35 +0000
commit69defe053388ac27c0c8c016fd4e5681fdef9145 (patch)
tree317e91b17048149d40cc0b7046492819ffdfe38e /sys/net/ppp_tty.c
parentd1bd38345577a196edb272288848ee0a3c77eae2 (diff)
downloadsrc-69defe053388ac27c0c8c016fd4e5681fdef9145.tar.gz
src-69defe053388ac27c0c8c016fd4e5681fdef9145.zip
don't refer to SWI_*_MASK, it's not SMP/UP kernel portable for the lkm.
Notes
Notes: svn path=/head/; revision=26313
Diffstat (limited to 'sys/net/ppp_tty.c')
-rw-r--r--sys/net/ppp_tty.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index 4ac992eb8aee..4f8107b8b74f 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -70,7 +70,7 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
-/* $Id: ppp_tty.c,v 1.14 1997/03/23 03:37:17 bde Exp $ */
+/* $Id: ppp_tty.c,v 1.15 1997/03/24 11:24:46 bde Exp $ */
/* from Id: ppp_tty.c,v 1.3 1995/08/16 01:36:40 paulus Exp */
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
@@ -96,7 +96,6 @@
#define KERNEL
#ifdef i386 /* fiddle with the spl locking */
-# include <machine/spl.h>
# include <i386/isa/isa_device.h>
#endif
@@ -184,8 +183,8 @@ pppasyncattach(dummy)
* active. The if_ppp.c code can walk down into b_to_q etc, and it is
* bad if the tty system was in the middle of another b_to_q...
*/
- tty_imask |= SWI_NET_MASK; /* spltty() block spl[soft]net() */
- net_imask |= SWI_TTY_MASK; /* splimp() block splsofttty() */
+ tty_imask |= softnet_imask; /* spltty() block spl[soft]net() */
+ net_imask |= softtty_imask; /* splimp() block splsofttty() */
net_imask |= tty_imask; /* splimp() block spltty() */
update_intr_masks();