]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: make sched_clock just call a function pointer
authorRob Herring <rob.herring@calxeda.com>
Mon, 1 Apr 2013 18:53:38 +0000 (13:53 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 10 Apr 2013 23:27:12 +0000 (18:27 -0500)
commit7e48c0b9d9ab07c92cd26f167010cd5a50eb0cec
tree05e8d8f956f1b035105fc947cb5ec676a0ddece8
parentc115739da801ea1ea20c48e2991ce6761496bef1
ARM: make sched_clock just call a function pointer

This converts sched_clock to simply a call to a function pointer in order
to allow overriding it. This will allow for use with 64-bit counters where
overflow handling is not needed.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/include/asm/sched_clock.h
arch/arm/kernel/sched_clock.c