From: James S. <jsi...@us...> - 2001-10-08 16:15:00
|
Update of /cvsroot/linux-mips/linux/arch/mips64/kernel In directory usw-pr-cvs1:/tmp/cvs-serv27015 Modified Files: smp.c Log Message: Remove code that was move to IP27 specific code a few days ago. Index: smp.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips64/kernel/smp.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- smp.c 2001/10/05 17:15:12 1.4 +++ smp.c 2001/10/08 16:14:57 1.5 @@ -7,7 +7,6 @@ * Copyright (C) 2000, 2001 Ralf Baechle * Copyright (C) 2000, 2001 Silicon Graphics, Inc. */ -#include <linux/config.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/interrupt.h> @@ -24,43 +23,6 @@ #include <asm/softirq.h> #include <asm/mmu_context.h> #include <asm/irq.h> - -#ifdef CONFIG_SGI_IP27 - -#include <asm/sn/arch.h> -#include <asm/sn/intr.h> -#include <asm/sn/addrs.h> -#include <asm/sn/agent.h> -#include <asm/sn/sn0/ip27.h> - -#define DORESCHED 0xab -#define DOCALL 0xbc - -static void sendintr(int destid, unsigned char status) -{ - int irq; - -#if (CPUS_PER_NODE == 2) - switch (status) { - case DORESCHED: irq = CPU_RESCHED_A_IRQ; break; - case DOCALL: irq = CPU_CALL_A_IRQ; break; - default: panic("sendintr"); - } - irq += cputoslice(destid); - - /* - * Convert the compact hub number to the NASID to get the correct - * part of the address space. Then set the interrupt bit associated - * with the CPU we want to send the interrupt to. - */ - REMOTE_HUB_SEND_INTR(COMPACT_TO_NASID_NODEID(cputocnode(destid)), - FAST_IRQ_TO_LEVEL(irq)); -#else - << Bomb! Must redefine this for more than 2 CPUS. >> -#endif -} - -#endif /* CONFIG_SGI_IP27 */ /* The 'big kernel lock' */ spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED; |