From 79fb0239fb794c3a4a1eb6f7145f92d0a923b81c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 5 Apr 2010 22:42:44 +0000 Subject: Make this work properly after the cpu_info indexing change. tested by ratchov@ --- sys/arch/i386/i386/kvm86call.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/i386') 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 -- cgit v1.2.3