Subject: Re: kern/36193: x86_machdep.c, v. 1.4.2.2 produces error with
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: netbsd-bugs
Date: 04/22/2007 16:10:02
The following reply was made to PR kern/36193; it has been noted by GNATS.
From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@NetBSD.org
Cc: dogan@politics.ankara.edu.tr
Subject: Re: kern/36193: x86_machdep.c, v. 1.4.2.2 produces error with
XEN2_DOM0 kernel configuration
Date: Sun, 22 Apr 2007 18:08:09 +0200
On Sun, 22 Apr 2007 16:00:05 +0000 (UTC)
dogan@politics.ankara.edu.tr wrote:
> >Number: 36193
> >Category: kern
> >Synopsis: x86_machdep.c, v. 1.4.2.2 produces error with XEN2_DOM0 kernel configuration
Looks like that a change that was fixed in -current, wasn't committed into netbsd-4.
This patch should fix this PR:
Index: x86_machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/x86_machdep.c,v
retrieving revision 1.4.2.2
diff -b -u -r1.4.2.2 x86_machdep.c
--- x86_machdep.c 20 Apr 2007 20:31:27 -0000 1.4.2.2
+++ x86_machdep.c 22 Apr 2007 16:06:52 -0000
@@ -124,6 +124,8 @@
void
x86_init(void)
{
+#ifndef XEN
msr_cpu_broadcast_initmtx();
+#endif
}
It needs to be pulled up to netbsd-4.
--
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish