From: Ingo Molnar Date: Mon, 12 Jan 2009 10:32:03 +0000 (+0100) Subject: Merge commit 'v2.6.29-rc1' into timers/hrtimers X-Git-Tag: v3.12-rc1~14955^4~6^4~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3ee1e123183ca9847e74b7b8e2694c9e3b817a6;p=kernel%2Fkernel-generic.git Merge commit 'v2.6.29-rc1' into timers/hrtimers Conflicts: kernel/time/tick-common.c --- e3ee1e123183ca9847e74b7b8e2694c9e3b817a6 diff --cc kernel/time/tick-common.c index 457d281,63e05d4..21a5ca8 --- a/kernel/time/tick-common.c +++ b/kernel/time/tick-common.c @@@ -274,21 -274,6 +274,21 @@@ out_bc } /* + * Transfer the do_timer job away from a dying cpu. + * + * Called with interrupts disabled. + */ +static void tick_handover_do_timer(int *cpup) +{ + if (*cpup == tick_do_timer_cpu) { - int cpu = first_cpu(cpu_online_map); ++ int cpu = cpumask_first(cpu_online_mask); + - tick_do_timer_cpu = (cpu != NR_CPUS) ? cpu : ++ tick_do_timer_cpu = (cpu < nr_cpu_ids) ? cpu : + TICK_DO_TIMER_NONE; + } +} + +/* * Shutdown an event device on a given cpu: * * This is called on a life CPU, when a CPU is dead. So we cannot