]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a3a4d8e83be032df63ebf1dc4370232d4eb2652
tree54bdc04c1223839581feba0c00f44836c91ca9cc
parent460a5ff0f6dab785cb1986755df1f189cfc6e528
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