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 Don't maintain ci_cpumask for physical CPUs...



details:   https://anonhg.NetBSD.org/src/rev/b0ffe6889728
branches:  trunk
changeset: 777590:b0ffe6889728
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Fri Feb 24 11:43:06 2012 +0000

description:
Don't maintain ci_cpumask for physical CPUs, it's not used.

diffstat:

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

diffs (26 lines):

diff -r 1a0bbc2f2aec -r b0ffe6889728 sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c    Fri Feb 24 11:31:23 2012 +0000
+++ b/sys/arch/xen/x86/cpu.c    Fri Feb 24 11:43:06 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.87 2012/02/24 11:31:23 bouyer Exp $  */
+/*     $NetBSD: cpu.c,v 1.88 2012/02/24 11:43:06 bouyer 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.87 2012/02/24 11:31:23 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.88 2012/02/24 11:43:06 bouyer Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -250,7 +250,6 @@
        ci->ci_cpuid = caa->cpu_number;
        ci->ci_vcpu = NULL;
        ci->ci_index = nphycpu++;
-       ci->ci_cpumask = (1 << cpu_index(ci));
 
        if (!pmf_device_register(self, NULL, NULL))
                aprint_error_dev(self, "couldn't establish power handler\n");



Home | Main Index | Thread Index | Old Index