diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-17 16:01:23 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-17 16:01:23 +0000 |
commit | d9dc190d2ecf374e6a59b3c68cfca36a7f8682ac (patch) | |
tree | 2db0adb4211e9551df151c1fb2d0cd5ff0f36980 | |
parent | 0414d77d4b2ac65f2ed6be694821bbff6453ad5a (diff) |
Obligatory UP compile fixes after SMP code changes ...
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-irq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-irq.c b/arch/mips64/sgi-ip27/ip27-irq.c index 2e91e9bf7..6565231eb 100644 --- a/arch/mips64/sgi-ip27/ip27-irq.c +++ b/arch/mips64/sgi-ip27/ip27-irq.c @@ -689,10 +689,6 @@ void handle_resched_intr(int irq, void *dev_id, struct pt_regs *regs) /* Nothing, the return from intr will work for us */ } -void handle_cpuintr(int irq, void *dev_id, struct pt_regs *regs) -{ -} - void install_cpuintr(cpuid_t cpu) { int irq; @@ -702,11 +698,13 @@ void install_cpuintr(cpuid_t cpu) intr_connect_level(cpu, IRQ_TO_SWLEVEL(irq)); if (request_irq(irq, handle_resched_intr, SA_SHIRQ, "resched", 0)) panic("intercpu intr unconnectible\n"); +#ifdef CONFIG_SMP irq = CPU_CALL_A_IRQ + cputoslice(cpu); intr_connect_level(cpu, IRQ_TO_SWLEVEL(irq)); if (request_irq(irq, smp_call_function_interrupt, SA_SHIRQ, "callfunc", 0)) panic("intercpu intr unconnectible\n"); +#endif } void install_tlbintr(cpuid_t cpu) |