maltalinux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: malta

To: maltalinux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: malta
From: chris@linux-mips.org
Date: Thu, 28 Jul 2005 18:24:25 +0100
Reply-to: linux-mips@linux-mips.org
Sender: maltalinux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    malta
Changes by:     chris@ftp.linux-mips.org        05/07/28 18:24:24

Modified files:
        linux/arch/mips/sibyte/sb1250: Tag: MaltaRef_2_6 time.c 

Log message:
        * arch/mips/sibyte/sb1250/time.c (sb1250_timer_interrupt):
        ll_timer_interrupt calls ll_local_timer_interrupt.

diff -urN malta/linux/arch/mips/sibyte/sb1250/time.c 
malta/linux/arch/mips/sibyte/sb1250/time.c
--- malta/linux/arch/mips/sibyte/sb1250/time.c  2005/06/21 13:24:27     
1.15.1000.1
+++ malta/linux/arch/mips/sibyte/sb1250/time.c  2005/07/28 17:24:23     
1.15.1000.2
@@ -108,17 +108,18 @@
        ____raw_writeq(M_SCD_TIMER_ENABLE | M_SCD_TIMER_MODE_CONTINUOUS,
                       IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG)));
 
-       /*
-        * CPU 0 handles the global timer interrupt job
-        */
        if (cpu == 0) {
+               /*
+                * CPU 0 handles the global timer interrupt job
+                */
                ll_timer_interrupt(irq, regs);
        }
-
-       /*
-        * every CPU should do profiling and process accouting
-        */
-       ll_local_timer_interrupt(irq, regs);
+       else {
+               /*
+                * other CPUs should just do profiling and process accounting
+                */
+               ll_local_timer_interrupt(irq, regs);
+       }
 }
 
 /*

<Prev in Thread] Current Thread [Next in Thread>