patch-2.4.7 linux/arch/mips64/kernel/smp.c
Next file: linux/arch/mips64/kernel/traps.c
Previous file: linux/arch/mips64/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Jul 4 11:50:39 2001
- Orig file:
v2.4.6/linux/arch/mips64/kernel/smp.c
- Orig date:
Sun Feb 4 21:48:46 2001
diff -u --recursive --new-file v2.4.6/linux/arch/mips64/kernel/smp.c linux/arch/mips64/kernel/smp.c
@@ -12,6 +12,7 @@
#include <asm/hardirq.h>
#include <asm/softirq.h>
#include <asm/mmu_context.h>
+#include <asm/irq.h>
#ifdef CONFIG_SGI_IP27
@@ -24,8 +25,6 @@
#define DORESCHED 0xab
#define DOCALL 0xbc
-#define IRQ_TO_SWLEVEL(i) i + 7 /* Delete this from here */
-
static void sendintr(int destid, unsigned char status)
{
int irq;
@@ -44,7 +43,7 @@
* with the CPU we want to send the interrupt to.
*/
REMOTE_HUB_SEND_INTR(COMPACT_TO_NASID_NODEID(cputocnode(destid)),
- IRQ_TO_SWLEVEL(irq));
+ FAST_IRQ_TO_LEVEL(irq));
#else
<< Bomb! Must redefine this for more than 2 CPUS. >>
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)