diff options
author | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-11-27 15:46:49 +0000 |
---|---|---|
committer | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-11-27 15:46:49 +0000 |
commit | b421d840f2172dd6c1fc6ff336fb8ac38d41ea8f (patch) | |
tree | 5ec6bc5a55fcd27d86b577663290e7ac290c74dc | |
parent | a8eca80989bbc78031386983908cfa245070b84a (diff) |
Prevent panics when booting GENERIC.MP with a vesabios kernel.
-rw-r--r-- | sys/arch/i386/i386/kvm86call.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/kvm86call.S b/sys/arch/i386/i386/kvm86call.S index 9f6ab4eb8f8..74626df76eb 100644 --- a/sys/arch/i386/i386/kvm86call.S +++ b/sys/arch/i386/i386/kvm86call.S @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm86call.S,v 1.1 2006/06/13 03:01:04 gwk Exp $ */ +/* $OpenBSD: kvm86call.S,v 1.2 2006/11/27 15:46:48 gwk Exp $ */ /* $NetBSD: kvm86call.S,v 1.7 2006/04/11 17:14:07 drochner Exp $ */ /*- @@ -100,6 +100,7 @@ ENTRY(kvm86_call) movl CPU_INFO_CURPROC(%ecx),%ecx movl P_MD_TSS_SEL(%ecx),%edi #ifdef MULTIPROCESSOR + GET_CPUINFO(%ecx) movl CPU_INFO_GDT(%ecx),%eax #else movl _C_LABEL(gdt),%eax |