iop: implement sched_clock()
authorMikael Pettersson <mikpe@it.uu.se>
Thu, 29 Oct 2009 18:46:56 +0000 (11:46 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 29 Oct 2009 18:46:56 +0000 (11:46 -0700)
commit345a32296b1f9f6121379e0240915e0e2be2dbf5
tree995ad5887af10b11b2cbc48e8936f7f7d9fbb109
parent980f2296b5a8dfe589f023fd34229dcfdcf280fa
iop: implement sched_clock()

This adds a better sched_clock() to the IOP platform,
implemented using its new clocksource support.

Tested on n2100, compile-tested for all plat-iop machines.

[dan.j.williams@intel.com: allow early cp6 access]
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/arm/mm/proc-xsc3.S
arch/arm/plat-iop/time.c