Module Name: src Committed By: bouyer Date: Fri Feb 24 11:43:06 UTC 2012
Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Don't maintain ci_cpumask for physical CPUs, it's not used. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 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.87 src/sys/arch/xen/x86/cpu.c:1.88 --- src/sys/arch/xen/x86/cpu.c:1.87 Fri Feb 24 11:31:23 2012 +++ src/sys/arch/xen/x86/cpu.c Fri Feb 24 11:43:06 2012 @@ -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 @@ cpu_attach(device_t parent, device_t sel 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");