Module Name: src
Committed By: jruoho
Date: Wed Nov 3 04:34:52 UTC 2010
Modified Files:
src/sys/arch/xen/x86: cpu.c
Log Message:
Fill cpu_info::ci_acpiid also on Xen.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/xen/x86/cpu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/x86/cpu.c
diff -u src/sys/arch/xen/x86/cpu.c:1.49 src/sys/arch/xen/x86/cpu.c:1.50
--- src/sys/arch/xen/x86/cpu.c:1.49 Fri Aug 20 06:34:33 2010
+++ src/sys/arch/xen/x86/cpu.c Wed Nov 3 04:34:51 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.49 2010/08/20 06:34:33 jruoho Exp $ */
+/* $NetBSD: cpu.c,v 1.50 2010/11/03 04:34:51 jruoho Exp $ */
/* NetBSD: cpu.c,v 1.18 2004/02/20 17:35:01 yamt Exp */
/*-
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.49 2010/08/20 06:34:33 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.50 2010/11/03 04:34:51 jruoho Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -256,6 +256,7 @@
sc->sc_info = ci;
ci->ci_dev = self;
+ ci->ci_acpiid = caa->cpu_id;
ci->ci_cpuid = caa->cpu_number;
ci->ci_vcpu = NULL;