diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-12 02:46:10 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-12 02:46:10 +0400 |
commit | d865bea4dace1d42995a6cf552bc4863842623f4 (patch) | |
tree | df4519c1646898d3d11817976992c73647a88dac /arch/mips/sni/time.c | |
parent | 87b2335d6ef97e19ca19dbbb523673680a029e3f (diff) | |
download | linux-d865bea4dace1d42995a6cf552bc4863842623f4.tar.xz |
[MIPS] i8253 PIT clocksource and clockevent drivers
Derived from the i386 variant with a few x86 complexities chopped off.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sni/time.c')
-rw-r--r-- | arch/mips/sni/time.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/sni/time.c b/arch/mips/sni/time.c index 92452d677d8f..153f065434ea 100644 --- a/arch/mips/sni/time.c +++ b/arch/mips/sni/time.c @@ -2,6 +2,7 @@ #include <linux/interrupt.h> #include <linux/time.h> +#include <asm/i8253.h> #include <asm/sni.h> #include <asm/time.h> #include <asm-generic/rtc.h> @@ -116,6 +117,8 @@ void __init plat_time_init(void) (int) (r4k_tick % (500000 / HZ))); mips_hpt_frequency = r4k_tick * HZ; + + setup_pit_timer(); } /* |