summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-04-05 22:42:44 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-04-05 22:42:44 +0000
commit79fb0239fb794c3a4a1eb6f7145f92d0a923b81c (patch)
tree6e08591f9994d7f797921c18ace49a32d2ac4f8b /sys/arch/i386
parent524fe696c8071faaf770fff60350ee4d3115c005 (diff)
Make this work properly after the cpu_info indexing change.
tested by ratchov@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/kvm86call.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/kvm86call.S b/sys/arch/i386/i386/kvm86call.S
index 276a149a32e..444a72fdfb2 100644
--- a/sys/arch/i386/i386/kvm86call.S
+++ b/sys/arch/i386/i386/kvm86call.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm86call.S,v 1.5 2010/04/01 19:48:50 kettenis Exp $ */
+/* $OpenBSD: kvm86call.S,v 1.6 2010/04/05 22:42:43 kettenis Exp $ */
/* $NetBSD: kvm86call.S,v 1.7 2006/04/11 17:14:07 drochner Exp $ */
/*-
@@ -89,6 +89,7 @@ ENTRY(kvm86_call)
movl CPU_INFO_APICID(%ecx),%edx
cmpl %eax,%edx
jne 1b
+ movl %ecx,%edx
#else
leal _C_LABEL(cpu_info_primary),%ecx
#endif