alpha: Shift perf event pending work earlier in timer interrupt
authorMichael Cree <mcree@orcon.net.nz>
Sun, 19 Sep 2010 06:05:40 +0000 (02:05 -0400)
committerMatt Turner <mattst88@gmail.com>
Sun, 19 Sep 2010 03:06:19 +0000 (23:06 -0400)
commitbdc8b8914b17cf97b53e5f7af8168d68cfb089d6
tree6535ea69d983e8e124e3566cd5d6847ab3a4d831
parent531f0474bf889d489b28ea4b15e87b7cbb77f580
alpha: Shift perf event pending work earlier in timer interrupt

Pending work from the performance event subsystem is executed in
the timer interrupt.  This patch shifts the call to
perf_event_do_pending() before the call to update_process_times()
as the latter may call back into the perf event subsystem and it
is prudent to have the pending work executed first.

Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/time.c