diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-05-12 21:39:07 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-05-12 21:39:07 +0000 |
commit | a60ffa3c1cfb0be0e1d96837ae8777f79a95c2ca (patch) | |
tree | f9c342c5d38a3a1b6314034fdd3c679982da942d /sys/kern/subr_smp.c | |
parent | e76b0bad242dd860ae3fc30cdee249061e4c6615 (diff) | |
download | FreeBSD-src-a60ffa3c1cfb0be0e1d96837ae8777f79a95c2ca.zip FreeBSD-src-a60ffa3c1cfb0be0e1d96837ae8777f79a95c2ca.tar.gz |
Unbreak VESA on SMP.
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 4c8c946..ad9e6c6 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.99 1999/04/30 22:09:40 msmith Exp $ + * $Id: mp_machdep.c,v 1.100 1999/05/08 17:48:22 peter Exp $ */ #include "opt_smp.h" @@ -483,7 +483,8 @@ init_secondary(void) common_tss.tss_ss0 = GSEL(GDATA_SEL, SEL_KPL); common_tss.tss_ioopt = (sizeof common_tss) << 16; #ifdef VM86 - common_tssd = gdt[myid * NGDT + GPROC0_SEL].sd; + tss_gdt = &gdt[myid * NGDT + GPROC0_SEL].sd; + common_tssd = *tss_gdt; #endif ltr(gsel_tss); |