]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9390889ff9d6b52102113fd44008d55f2cbb765f
tree6535ea69d983e8e124e3566cd5d6847ab3a4d831
parent356c965110147ed3e5bf1bccbbba6ba99709c400
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