Commit 41eb17ce authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

sparc32: drop unused set_irq_udt

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb6f66f4
...@@ -99,11 +99,9 @@ static inline void load_profile_irq(int cpu, int limit) ...@@ -99,11 +99,9 @@ static inline void load_profile_irq(int cpu, int limit)
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
BTFIXUPDEF_CALL(void, set_cpu_int, int, int) BTFIXUPDEF_CALL(void, set_cpu_int, int, int)
BTFIXUPDEF_CALL(void, clear_cpu_int, int, int) BTFIXUPDEF_CALL(void, clear_cpu_int, int, int)
BTFIXUPDEF_CALL(void, set_irq_udt, int)
#define set_cpu_int(cpu,level) BTFIXUP_CALL(set_cpu_int)(cpu,level) #define set_cpu_int(cpu,level) BTFIXUP_CALL(set_cpu_int)(cpu,level)
#define clear_cpu_int(cpu,level) BTFIXUP_CALL(clear_cpu_int)(cpu,level) #define clear_cpu_int(cpu,level) BTFIXUP_CALL(clear_cpu_int)(cpu,level)
#define set_irq_udt(cpu) BTFIXUP_CALL(set_irq_udt)(cpu)
/* All SUN4D IPIs are sent on this IRQ, may be shared with hard IRQs */ /* All SUN4D IPIs are sent on this IRQ, may be shared with hard IRQs */
#define SUN4D_IPI_IRQ 13 #define SUN4D_IPI_IRQ 13
......
...@@ -512,10 +512,6 @@ static void leon_clear_ipi(int cpu, int level) ...@@ -512,10 +512,6 @@ static void leon_clear_ipi(int cpu, int level)
LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->force[cpu], mask<<16); LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->force[cpu], mask<<16);
} }
static void leon_set_udt(int cpu)
{
}
void leon_clear_profile_irq(int cpu) void leon_clear_profile_irq(int cpu)
{ {
} }
...@@ -546,7 +542,6 @@ void __init leon_init_IRQ(void) ...@@ -546,7 +542,6 @@ void __init leon_init_IRQ(void)
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
BTFIXUPSET_CALL(set_cpu_int, leon_set_cpu_int, BTFIXUPCALL_NORM); BTFIXUPSET_CALL(set_cpu_int, leon_set_cpu_int, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(clear_cpu_int, leon_clear_ipi, BTFIXUPCALL_NORM); BTFIXUPSET_CALL(clear_cpu_int, leon_clear_ipi, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(set_irq_udt, leon_set_udt, BTFIXUPCALL_NORM);
#endif #endif
} }
......
...@@ -252,10 +252,6 @@ static void sun4d_clear_ipi(int cpu, int level) ...@@ -252,10 +252,6 @@ static void sun4d_clear_ipi(int cpu, int level)
{ {
} }
static void sun4d_set_udt(int cpu)
{
}
/* Setup IRQ distribution scheme. */ /* Setup IRQ distribution scheme. */
void __init sun4d_distribute_irqs(void) void __init sun4d_distribute_irqs(void)
{ {
...@@ -528,7 +524,6 @@ void __init sun4d_init_IRQ(void) ...@@ -528,7 +524,6 @@ void __init sun4d_init_IRQ(void)
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
BTFIXUPSET_CALL(set_cpu_int, sun4d_set_cpu_int, BTFIXUPCALL_NORM); BTFIXUPSET_CALL(set_cpu_int, sun4d_set_cpu_int, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(clear_cpu_int, sun4d_clear_ipi, BTFIXUPCALL_NOP); BTFIXUPSET_CALL(clear_cpu_int, sun4d_clear_ipi, BTFIXUPCALL_NOP);
BTFIXUPSET_CALL(set_irq_udt, sun4d_set_udt, BTFIXUPCALL_NOP);
#endif #endif
/* Cannot enable interrupts until OBP ticker is disabled. */ /* Cannot enable interrupts until OBP ticker is disabled. */
} }
...@@ -292,11 +292,6 @@ static void sun4m_clear_ipi(int cpu, int level) ...@@ -292,11 +292,6 @@ static void sun4m_clear_ipi(int cpu, int level)
{ {
sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->clear); 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 #endif
struct sun4m_timer_percpu { struct sun4m_timer_percpu {
...@@ -492,7 +487,6 @@ void __init sun4m_init_IRQ(void) ...@@ -492,7 +487,6 @@ void __init sun4m_init_IRQ(void)
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
BTFIXUPSET_CALL(set_cpu_int, sun4m_send_ipi, BTFIXUPCALL_NORM); BTFIXUPSET_CALL(set_cpu_int, sun4m_send_ipi, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(clear_cpu_int, sun4m_clear_ipi, BTFIXUPCALL_NORM); BTFIXUPSET_CALL(clear_cpu_int, sun4m_clear_ipi, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(set_irq_udt, sun4m_set_udt, BTFIXUPCALL_NORM);
#endif #endif
/* Cannot enable interrupts until OBP ticker is disabled. */ /* Cannot enable interrupts until OBP ticker is disabled. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment