summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4m_irq.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-13 15:29:09 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-13 21:51:56 +0200
commit41eb17ce9888d759bf327cf0a4e1ea618016be64 (patch)
tree3a3930b97f89934aa5e1c87925fccf9fa1e0ba08 /arch/sparc/kernel/sun4m_irq.c
parentsparc32: drop btfixup in page_32.h (diff)
downloadlinux-41eb17ce9888d759bf327cf0a4e1ea618016be64.tar.xz
linux-41eb17ce9888d759bf327cf0a4e1ea618016be64.zip
sparc32: drop unused set_irq_udt
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/sun4m_irq.c')
-rw-r--r--arch/sparc/kernel/sun4m_irq.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc/kernel/sun4m_irq.c b/arch/sparc/kernel/sun4m_irq.c
index 87908a5b1223..fd8754dcce29 100644
--- a/arch/sparc/kernel/sun4m_irq.c
+++ b/arch/sparc/kernel/sun4m_irq.c
@@ -292,11 +292,6 @@ static void sun4m_clear_ipi(int cpu, int level)
{
sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->clear);
}
-
-static void sun4m_set_udt(int cpu)
-{
- sbus_writel(cpu, &sun4m_irq_global->interrupt_target);
-}
#endif
struct sun4m_timer_percpu {
@@ -492,7 +487,6 @@ void __init sun4m_init_IRQ(void)
#ifdef CONFIG_SMP
BTFIXUPSET_CALL(set_cpu_int, sun4m_send_ipi, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(clear_cpu_int, sun4m_clear_ipi, BTFIXUPCALL_NORM);
- BTFIXUPSET_CALL(set_irq_udt, sun4m_set_udt, BTFIXUPCALL_NORM);
#endif
/* Cannot enable interrupts until OBP ticker is disabled. */