Merged from sys/isa/syscons_isa.c revision 1.24.
This commit is contained in:
parent
421c39026c
commit
af1d64472e
@ -94,6 +94,10 @@ scsuspend(device_t dev)
|
||||
sc_softc_t *sc;
|
||||
|
||||
sc = &main_softc;
|
||||
|
||||
if (sc->cur_scp == NULL)
|
||||
return (0);
|
||||
|
||||
sc_cur_scr = sc->cur_scp->index;
|
||||
|
||||
if (sc_no_suspend_vtswitch)
|
||||
|
@ -94,6 +94,10 @@ scsuspend(device_t dev)
|
||||
sc_softc_t *sc;
|
||||
|
||||
sc = &main_softc;
|
||||
|
||||
if (sc->cur_scp == NULL)
|
||||
return (0);
|
||||
|
||||
sc_cur_scr = sc->cur_scp->index;
|
||||
|
||||
if (sc_no_suspend_vtswitch)
|
||||
|
Loading…
Reference in New Issue
Block a user