powerpc: Split timer_interrupt() into timer handling and interrupt handling routines
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>
Wed, 26 Feb 2014 00:08:01 +0000 (05:38 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Mar 2014 04:56:16 +0000 (15:56 +1100)
commit1b7839559b3f1c7a09ff94904788a732063ce2de
tree4fcce1fd990bd3afbd96b6c7e94340f98c6f480a
parent1b67bee129a36c22c17186cc2a9981678e9323ee
powerpc: Split timer_interrupt() into timer handling and interrupt handling routines

Split timer_interrupt(), which is the local timer interrupt handler on ppc
into routines called during regular interrupt handling and __timer_interrupt(),
which takes care of running local timers and collecting time related stats.

This will enable callers interested only in running expired local timers to
directly call into __timer_interupt(). One of the use cases of this is the
tick broadcast IPI handling in which the sleeping CPUs need to handle the local
timers that have expired.

Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/time.c