Commit 08572cd4 authored by Ard Biesheuvel's avatar Ard Biesheuvel

ARM: remove some dead code

This code appears to be no longer used so let's get rid of it.
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Tested-by: default avatarKeith Packard <keithpac@amazon.com>
Tested-by: default avatarMarc Zyngier <maz@kernel.org>
Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> # ARMv7M
parent f05eb1d2
...@@ -13,28 +13,4 @@ ...@@ -13,28 +13,4 @@
@ @
badrne lr, 1b badrne lr, 1b
bne asm_do_IRQ bne asm_do_IRQ
#ifdef CONFIG_SMP
/*
* XXX
*
* this macro assumes that irqstat (r2) and base (r6) are
* preserved from get_irqnr_and_base above
*/
ALT_SMP(test_for_ipi r0, r2, r6, lr)
ALT_UP_B(9997f)
movne r1, sp
badrne lr, 1b
bne do_IPI
#endif
9997:
.endm
.macro arch_irq_handler, symbol_name
.align 5
.global \symbol_name
\symbol_name:
mov r8, lr
arch_irq_handler_default
ret r8
.endm .endm
...@@ -24,11 +24,6 @@ struct seq_file; ...@@ -24,11 +24,6 @@ struct seq_file;
*/ */
extern void show_ipi_list(struct seq_file *, int); extern void show_ipi_list(struct seq_file *, int);
/*
* Called from assembly code, this handles an IPI.
*/
asmlinkage void do_IPI(int ipinr, struct pt_regs *regs);
/* /*
* Called from C code, this handles an IPI. * Called from C code, this handles an IPI.
*/ */
......
...@@ -631,11 +631,6 @@ static void ipi_complete(unsigned int cpu) ...@@ -631,11 +631,6 @@ static void ipi_complete(unsigned int cpu)
/* /*
* Main handler for inter-processor interrupts * Main handler for inter-processor interrupts
*/ */
asmlinkage void __exception_irq_entry do_IPI(int ipinr, struct pt_regs *regs)
{
handle_IPI(ipinr, regs);
}
static void do_handle_IPI(int ipinr) static void do_handle_IPI(int ipinr)
{ {
unsigned int cpu = smp_processor_id(); unsigned int cpu = smp_processor_id();
......
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