ARM: idle: call idle notifiers before stopping nohz tick
authorColin Cross <ccross@android.com>
Wed, 30 Nov 2011 00:37:07 +0000 (16:37 -0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 19 Dec 2011 02:12:58 +0000 (10:12 +0800)
commit66d9d297206ede31688ce9c2d7b0c2c3c26ff35d
tree21f9183b95b34572111bc4c85f5694bc01e11615
parent68f12b8b114dead5f585b7a4b36690f60171795a
ARM: idle: call idle notifiers before stopping nohz tick

If an idle notifier modifies a timer, calling the notifier after
the sched tick has been stopped may leave the sched tick set too
early.  Move teh idle notifier call before the call to
tick_nohz_stop_sched_tick.

Change-Id: I0db3284bec6d0193bc5e2a57650ab06bd8342319
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/kernel/process.c