OpenRISC: Timekeeping
authorJonas Bonn <jonas@southpole.se>
Sat, 4 Jun 2011 19:18:12 +0000 (22:18 +0300)
committerJonas Bonn <jonas@southpole.se>
Fri, 22 Jul 2011 16:46:32 +0000 (18:46 +0200)
commitb731fbbd246e3aba59701bd6112a14ba02bf1c1c
tree30b11158e47c2c9d2264dcb9188178c10bd7c21b
parenta39af6f7b806f2a52962254ea8dc635b4c240810
OpenRISC: Timekeeping

Implements support for the OpenRISC timer which is a 28 bit cycle counter
that can be read out of a special purpose register.  This counter is
used as a both a clock event and clocksource device.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Cc: tglx@linutronix.de
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
arch/openrisc/include/asm/timex.h [new file with mode: 0644]
arch/openrisc/kernel/time.c [new file with mode: 0644]