Commit 0f031b3f authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

sparc32: drop unused clear_cpu_int

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 41eb17ce
...@@ -98,10 +98,8 @@ static inline void load_profile_irq(int cpu, int limit) ...@@ -98,10 +98,8 @@ 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)
#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)
/* 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
......
...@@ -505,13 +505,6 @@ void leon_set_cpu_int(int cpu, int level) ...@@ -505,13 +505,6 @@ void leon_set_cpu_int(int cpu, int level)
LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->force[cpu], mask); LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->force[cpu], mask);
} }
static void leon_clear_ipi(int cpu, int level)
{
unsigned long mask;
mask = get_irqmask(level);
LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->force[cpu], mask<<16);
}
void leon_clear_profile_irq(int cpu) void leon_clear_profile_irq(int cpu)
{ {
} }
...@@ -541,7 +534,6 @@ void __init leon_init_IRQ(void) ...@@ -541,7 +534,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);
#endif #endif
} }
......
...@@ -248,10 +248,6 @@ static void sun4d_set_cpu_int(int cpu, int level) ...@@ -248,10 +248,6 @@ static void sun4d_set_cpu_int(int cpu, int level)
sun4d_send_ipi(cpu, level); sun4d_send_ipi(cpu, level);
} }
static void sun4d_clear_ipi(int cpu, int level)
{
}
/* Setup IRQ distribution scheme. */ /* Setup IRQ distribution scheme. */
void __init sun4d_distribute_irqs(void) void __init sun4d_distribute_irqs(void)
{ {
...@@ -523,7 +519,6 @@ void __init sun4d_init_IRQ(void) ...@@ -523,7 +519,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);
#endif #endif
/* Cannot enable interrupts until OBP ticker is disabled. */ /* Cannot enable interrupts until OBP ticker is disabled. */
} }
...@@ -287,11 +287,6 @@ static void sun4m_send_ipi(int cpu, int level) ...@@ -287,11 +287,6 @@ static void sun4m_send_ipi(int cpu, int level)
{ {
sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->set); sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->set);
} }
static void sun4m_clear_ipi(int cpu, int level)
{
sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->clear);
}
#endif #endif
struct sun4m_timer_percpu { struct sun4m_timer_percpu {
...@@ -486,7 +481,6 @@ void __init sun4m_init_IRQ(void) ...@@ -486,7 +481,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);
#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