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)
committerColin Cross <ccross@android.com>
Wed, 30 Nov 2011 02:00:09 +0000 (18:00 -0800)
commitb86fd0b62252fbba6a5d6acda09fd325fb8e201b
tree3105c7b03f8239a8aa4d7a06c18abbca65ad0b06
parent6a4a38525d60db7e915d559273d8c89db5a98edf
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