Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/x86 Fill cpu_info::ci_acpiid also on Xen.



details:   https://anonhg.NetBSD.org/src/rev/5b56b20e6c14
branches:  trunk
changeset: 758356:5b56b20e6c14
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Nov 03 04:34:51 2010 +0000

description:
Fill cpu_info::ci_acpiid also on Xen.

diffstat:

 sys/arch/xen/x86/cpu.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 643b6166172f -r 5b56b20e6c14 sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c    Wed Nov 03 04:32:50 2010 +0000
+++ b/sys/arch/xen/x86/cpu.c    Wed Nov 03 04:34:51 2010 +0000
@@ -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;
 



Home | Main Index | Thread Index | Old Index