MIPS: TXx9: micro optimization for clocksource and clock_event
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 23 Apr 2009 15:10:36 +0000 (00:10 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jun 2009 10:06:25 +0000 (11:06 +0100)
commita43da03ca4719276b9601730627d20b2a71fb6ba
tree54bdc04c1223839581feba0c00f44836c91ca9cc
parent605b7ef7b79cee8e36ae5c48700e1a1eec74d38a
MIPS: TXx9: micro optimization for clocksource and clock_event

Use container structure for clocksource, clock_event_device and hold a
pointer to txx9_tmr_reg in it.

This saves a few instructions in clocksource and clock_event handlers.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-txx9.c