Catch up to the new software interrupt code.

Noticed by:	phk
This commit is contained in:
John Baldwin 2000-10-25 21:24:08 +00:00
parent 49e0078b0f
commit fbc9c4f042
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67585
2 changed files with 8 additions and 6 deletions

View File

@ -39,6 +39,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/tty.h>
#include <sys/proc.h>
@ -184,7 +185,7 @@ static int rc_modctl __P((struct rc_chans *, int, int));
static void rc_start __P((struct tty *));
static void rc_stop __P((struct tty *, int rw));
static int rc_param __P((struct tty *, struct termios *));
static swihand_t rcpoll;
static void rcpoll __P((void *));
static void rc_reinit __P((struct rc_softc *));
#ifdef RCDEBUG
static void printrcflags();
@ -559,7 +560,7 @@ register struct tty *tp;
}
/* Handle delayed events. */
void rcpoll()
void rcpoll(void *arg)
{
register struct rc_chans *rc;
register struct rc_softc *rcb;
@ -1423,7 +1424,7 @@ rc_wakeup(chan)
int s;
s = splsofttty();
rcpoll();
rcpoll(NULL);
splx(s);
}
}

View File

@ -39,6 +39,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/tty.h>
#include <sys/proc.h>
@ -184,7 +185,7 @@ static int rc_modctl __P((struct rc_chans *, int, int));
static void rc_start __P((struct tty *));
static void rc_stop __P((struct tty *, int rw));
static int rc_param __P((struct tty *, struct termios *));
static swihand_t rcpoll;
static void rcpoll __P((void *));
static void rc_reinit __P((struct rc_softc *));
#ifdef RCDEBUG
static void printrcflags();
@ -559,7 +560,7 @@ register struct tty *tp;
}
/* Handle delayed events. */
void rcpoll()
void rcpoll(void *arg)
{
register struct rc_chans *rc;
register struct rc_softc *rcb;
@ -1423,7 +1424,7 @@ rc_wakeup(chan)
int s;
s = splsofttty();
rcpoll();
rcpoll(NULL);
splx(s);
}
}