patch-2.1.79 linux/arch/sparc/kernel/sun4m_irq.c
Next file: linux/arch/sparc/kernel/sunos_ioctl.c
Previous file: linux/arch/sparc/kernel/sun4d_irq.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Mon Jan 12 15:15:43 1998
- Orig file:
v2.1.78/linux/arch/sparc/kernel/sun4m_irq.c
- Orig date:
Wed Apr 23 19:01:16 1997
diff -u --recursive --new-file v2.1.78/linux/arch/sparc/kernel/sun4m_irq.c linux/arch/sparc/kernel/sun4m_irq.c
@@ -163,7 +163,8 @@
sun4m_interrupts->clear = cpu_pil_to_imask[pil];
}
-void sun4m_send_ipi(int cpu, int level)
+#ifdef __SMP__
+static void sun4m_send_ipi(int cpu, int level)
{
unsigned long mask;
@@ -171,7 +172,7 @@
sun4m_interrupts->cpu_intregs[cpu].set = mask;
}
-void sun4m_clear_ipi(int cpu, int level)
+static void sun4m_clear_ipi(int cpu, int level)
{
unsigned long mask;
@@ -179,10 +180,11 @@
sun4m_interrupts->cpu_intregs[cpu].clear = mask;
}
-void sun4m_set_udt(int cpu)
+static void sun4m_set_udt(int cpu)
{
sun4m_interrupts->undirected_target = cpu;
}
+#endif
#define OBIO_INTR 0x20
#define TIMER_IRQ (OBIO_INTR | 10)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov