diff options
Diffstat (limited to 'sys/arch/sparc64/dev/vcons.c')
-rw-r--r-- | sys/arch/sparc64/dev/vcons.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vcons.c b/sys/arch/sparc64/dev/vcons.c index ca00fc0d46f..8cb47894af6 100644 --- a/sys/arch/sparc64/dev/vcons.c +++ b/sys/arch/sparc64/dev/vcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vcons.c,v 1.4 2008/10/12 09:18:24 kettenis Exp $ */ +/* $OpenBSD: vcons.c,v 1.5 2008/11/24 16:19:33 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis * @@ -111,7 +111,8 @@ vcons_intr(void *arg) { struct vcons_softc *sc = arg; - softintr_schedule(sc->sc_si); + if (sc->sc_tty) + softintr_schedule(sc->sc_si); return (1); } |