From d9dc190d2ecf374e6a59b3c68cfca36a7f8682ac Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Mon, 17 Apr 2000 16:01:23 +0000 Subject: Obligatory UP compile fixes after SMP code changes ... --- arch/mips64/sgi-ip27/ip27-irq.c | 6 ++---- 1 file 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) -- cgit v1.2.3