patch-2.1.36 linux/arch/sparc/kernel/tick14.c
Next file: linux/arch/sparc/kernel/time.c
Previous file: linux/arch/sparc/kernel/systbls.S
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Apr 15 21:47:23 1997
- Orig file:
v2.1.35/linux/arch/sparc/kernel/tick14.c
- Orig date:
Sat Nov 9 00:11:50 1996
diff -u --recursive --new-file v2.1.35/linux/arch/sparc/kernel/tick14.c linux/arch/sparc/kernel/tick14.c
@@ -60,6 +60,8 @@
void claim_ticker14(void (*handler)(int, void *, struct pt_regs *),
int irq_nr, unsigned int timeout )
{
+ int cpu = smp_processor_id();
+
/* first we copy the obp handler instructions
*/
disable_irq(irq_nr);
@@ -78,7 +80,7 @@
"counter14",
NULL)) {
install_linux_ticker();
- load_profile_irq(timeout);
+ load_profile_irq(cpu, timeout);
enable_irq(irq_nr);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov