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 Initialise cpus_running to 1 on Xen, as it ...
details: https://anonhg.NetBSD.org/src/rev/8b376a8bc816
branches: trunk
changeset: 767345:8b376a8bc816
user: rmind <rmind%NetBSD.org@localhost>
date: Sat Jul 16 14:46:18 2011 +0000
description:
Initialise cpus_running to 1 on Xen, as it was done on x86.
Problem analysed by hannken@. Fixes PR/45062.
diffstat:
sys/arch/xen/x86/cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 32efc98223dc -r 8b376a8bc816 sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c Sat Jul 16 14:33:33 2011 +0000
+++ b/sys/arch/xen/x86/cpu.c Sat Jul 16 14:46:18 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.59 2011/06/15 20:50:02 rmind Exp $ */
+/* $NetBSD: cpu.c,v 1.60 2011/07/16 14:46:18 rmind 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.59 2011/06/15 20:50:02 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.60 2011/07/16 14:46:18 rmind Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -174,7 +174,7 @@
static void cpu_set_tss_gates(struct cpu_info *ci);
uint32_t cpus_attached = 1;
-uint32_t cpus_running = 0;
+uint32_t cpus_running = 1;
uint32_t phycpus_attached = 0;
uint32_t phycpus_running = 0;
Home |
Main Index |
Thread Index |
Old Index