* [PATCH] SNI: register a02r clockevent; don't use PIT timer
@ 2007-11-01 10:36 Thomas Bogendoerfer
2007-11-01 15:50 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Bogendoerfer @ 2007-11-01 10:36 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
Register A20R clockevent
Remove PIT timer setup because it doesn't work
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
diff --git a/arch/mips/sni/time.c b/arch/mips/sni/time.c
index 60bc62e..6f339af 100644
--- a/arch/mips/sni/time.c
+++ b/arch/mips/sni/time.c
@@ -1,6 +1,7 @@
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/time.h>
+#include <linux/clockchips.h>
#include <asm/i8253.h>
#include <asm/sni.h>
@@ -80,7 +81,7 @@ static void __init sni_a20r_timer_setup(void)
unsigned int cpu = smp_processor_id();
cd->cpumask = cpumask_of_cpu(cpu);
-
+ clockevents_register_device(cd);
action->dev_id = cd;
setup_irq(SNI_A20R_IRQ_TIMER, &a20r_irqaction);
}
@@ -169,8 +170,6 @@ void __init plat_time_init(void)
mips_hpt_frequency = r4k_tick * HZ;
- setup_pit_timer();
-
switch (sni_brd_type) {
case SNI_BRD_10:
case SNI_BRD_10NEW:
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] SNI: register a02r clockevent; don't use PIT timer
2007-11-01 10:36 [PATCH] SNI: register a02r clockevent; don't use PIT timer Thomas Bogendoerfer
@ 2007-11-01 15:50 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-11-01 15:50 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux-mips
On Thu, Nov 01, 2007 at 11:36:42AM +0100, Thomas Bogendoerfer wrote:
> Register A20R clockevent
> Remove PIT timer setup because it doesn't work
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-01 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 10:36 [PATCH] SNI: register a02r clockevent; don't use PIT timer Thomas Bogendoerfer
2007-11-01 15:50 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).