Date: Mon, 2 Jan 2012 09:44:42 +0000 (UTC) From: Grzegorz Bernacki <gber@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r229266 - projects/armv6/sys/kern Message-ID: <201201020944.q029ihSa057774@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gber Date: Mon Jan 2 09:44:42 2012 New Revision: 229266 URL: http://svn.freebsd.org/changeset/base/229266 Log: Do not check next scheduled event on APs until smp is started. Obtained from: Marvell, Semihalf Modified: projects/armv6/sys/kern/kern_clocksource.c Modified: projects/armv6/sys/kern/kern_clocksource.c ============================================================================== --- projects/armv6/sys/kern/kern_clocksource.c Mon Jan 2 09:18:58 2012 (r229265) +++ projects/armv6/sys/kern/kern_clocksource.c Mon Jan 2 09:44:42 2012 (r229266) @@ -295,7 +295,7 @@ getnextevent(struct bintime *event) *event = state->nextevent; c = curcpu; #ifdef SMP - if ((timer->et_flags & ET_FLAGS_PERCPU) == 0) { + if ((timer->et_flags & ET_FLAGS_PERCPU) == 0 && smp_started) { CPU_FOREACH(cpu) { if (curcpu == cpu) continue;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201020944.q029ihSa057774>