linux-mips
[Top] [All Lists]

[PATCH] remove first timer interrupt setup in wrppmc_timer_setup()

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] remove first timer interrupt setup in wrppmc_timer_setup()
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Tue, 20 Jun 2006 23:55:17 +0900
Cc: linux-mips@linux-mips.org
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,

This patch removes first timer interrupt setup in wrppmc_timer_setup().
The first timer interrupt setup already includes in time_init().

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff 
mips-orig/arch/mips/gt64120/wrppmc/time.c mips/arch/mips/gt64120/wrppmc/time.c
--- mips-orig/arch/mips/gt64120/wrppmc/time.c   2006-06-20 21:17:36.853537000 
+0900
+++ mips/arch/mips/gt64120/wrppmc/time.c        2006-06-20 23:29:16.157391500 
+0900
@@ -31,10 +31,6 @@ void __init wrppmc_timer_setup(struct ir
 {
        /* Install ISR for timer interrupt */
        setup_irq(WRPPMC_MIPS_TIMER_IRQ, irq);
-
-       /* to generate the first timer interrupt */
-       write_c0_compare(mips_hpt_frequency/HZ);
-       write_c0_count(0);
 }
 
 /*

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] remove first timer interrupt setup in wrppmc_timer_setup(), Yoichi Yuasa <=