summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/leon_kernel.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-13 15:43:41 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-13 12:51:57 -0700
commit0f031b3f26c5fc019d541e41ae53b32e2dc6a373 (patch)
tree95b68754cf08df1e46c93ee138f6bf8fdd4b87ad /arch/sparc/kernel/leon_kernel.c
parent41eb17ce9888d759bf327cf0a4e1ea618016be64 (diff)
downloadlinux-0f031b3f26c5fc019d541e41ae53b32e2dc6a373.tar.gz
linux-0f031b3f26c5fc019d541e41ae53b32e2dc6a373.tar.bz2
linux-0f031b3f26c5fc019d541e41ae53b32e2dc6a373.zip
sparc32: drop unused clear_cpu_int
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/leon_kernel.c')
-rw-r--r--arch/sparc/kernel/leon_kernel.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sparc/kernel/leon_kernel.c b/arch/sparc/kernel/leon_kernel.c
index 06abbb371263..e57435f314fe 100644
--- a/arch/sparc/kernel/leon_kernel.c
+++ b/arch/sparc/kernel/leon_kernel.c
@@ -505,13 +505,6 @@ void leon_set_cpu_int(int cpu, int level)
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)
{
}
@@ -541,7 +534,6 @@ void __init leon_init_IRQ(void)
#ifdef CONFIG_SMP
BTFIXUPSET_CALL(set_cpu_int, leon_set_cpu_int, BTFIXUPCALL_NORM);
- BTFIXUPSET_CALL(clear_cpu_int, leon_clear_ipi, BTFIXUPCALL_NORM);
#endif
}