patch-2.4.10 linux/arch/mips/kernel/old-time.c
Next file: linux/arch/mips/kernel/pci-dma.c
Previous file: linux/arch/mips/kernel/old-irq.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Sun Sep 9 10:43:01 2001
- Orig file:
v2.4.9/linux/arch/mips/kernel/old-time.c
- Orig date:
Tue Jul 3 17:08:18 2001
diff -u --recursive --new-file v2.4.9/linux/arch/mips/kernel/old-time.c linux/arch/mips/kernel/old-time.c
@@ -1,18 +1,11 @@
/*
* Copyright (C) 1991, 1992, 1995 Linus Torvalds
* Copyright (C) 1996 - 2000 Ralf Baechle
+ * Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips
+ * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
*
- * This file contains the time handling details for PC-style clocks as
- * found in some MIPS systems.
+ * Don't use. Deprecated. Dead meat.
*/
-/**************************************************************************
- * 9 Nov, 2000.
- * Changed init_cycle_counter() routine, use the mips_cpu structure.
- *
- * Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips
- * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
- *************************************************************************/
-
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/init.h>
@@ -450,7 +443,12 @@
void indy_r4k_timer_interrupt (struct pt_regs *regs)
{
static const int INDY_R4K_TIMER_IRQ = 7;
+ int cpu = smp_processor_id();
+
r4k_timer_interrupt (INDY_R4K_TIMER_IRQ, NULL, regs);
+
+ if (softirq_pending(cpu))
+ do_softirq();
}
struct irqaction irq0 = { timer_interrupt, SA_INTERRUPT, 0,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)