diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-13 09:29:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-13 15:51:56 -0400 |
commit | 41eb17ce9888d759bf327cf0a4e1ea618016be64 (patch) | |
tree | 3a3930b97f89934aa5e1c87925fccf9fa1e0ba08 /arch/sparc | |
parent | fb6f66f4056232d973ad7c111caad1aca151c363 (diff) |
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')
-rw-r--r-- | arch/sparc/kernel/irq.h | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/leon_kernel.c | 5 | ||||
-rw-r--r-- | arch/sparc/kernel/sun4d_irq.c | 5 | ||||
-rw-r--r-- | arch/sparc/kernel/sun4m_irq.c | 6 |
4 files changed, 0 insertions, 18 deletions
diff --git a/arch/sparc/kernel/irq.h b/arch/sparc/kernel/irq.h index 593e7a583449..b965df4c4b96 100644 --- a/arch/sparc/kernel/irq.h +++ b/arch/sparc/kernel/irq.h | |||
@@ -99,11 +99,9 @@ static inline void load_profile_irq(int cpu, int limit) | |||
99 | #ifdef CONFIG_SMP | 99 | #ifdef CONFIG_SMP |
100 | BTFIXUPDEF_CALL(void, set_cpu_int, int, int) | 100 | BTFIXUPDEF_CALL(void, set_cpu_int, int, int) |
101 | BTFIXUPDEF_CALL(void, clear_cpu_int, int, int) | 101 | BTFIXUPDEF_CALL(void, clear_cpu_int, int, int) |
102 | BTFIXUPDEF_CALL(void, set_irq_udt, int) | ||
103 | 102 | ||
104 | #define set_cpu_int(cpu,level) BTFIXUP_CALL(set_cpu_int)(cpu,level) | 103 | #define set_cpu_int(cpu,level) BTFIXUP_CALL(set_cpu_int)(cpu,level) |
105 | #define clear_cpu_int(cpu,level) BTFIXUP_CALL(clear_cpu_int)(cpu,level) | 104 | #define clear_cpu_int(cpu,level) BTFIXUP_CALL(clear_cpu_int)(cpu,level) |
106 | #define set_irq_udt(cpu) BTFIXUP_CALL(set_irq_udt)(cpu) | ||
107 | 105 | ||
108 | /* All SUN4D IPIs are sent on this IRQ, may be shared with hard IRQs */ | 106 | /* All SUN4D IPIs are sent on this IRQ, may be shared with hard IRQs */ |
109 | #define SUN4D_IPI_IRQ 13 | 107 | #define SUN4D_IPI_IRQ 13 |
diff --git a/arch/sparc/kernel/leon_kernel.c b/arch/sparc/kernel/leon_kernel.c index 722650ab83da..06abbb371263 100644 --- a/arch/sparc/kernel/leon_kernel.c +++ b/arch/sparc/kernel/leon_kernel.c | |||
@@ -512,10 +512,6 @@ static void leon_clear_ipi(int cpu, int level) | |||
512 | LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->force[cpu], mask<<16); | 512 | LEON3_BYPASS_STORE_PA(&leon3_irqctrl_regs->force[cpu], mask<<16); |
513 | } | 513 | } |
514 | 514 | ||
515 | static void leon_set_udt(int cpu) | ||
516 | { | ||
517 | } | ||
518 | |||
519 | void leon_clear_profile_irq(int cpu) | 515 | void leon_clear_profile_irq(int cpu) |
520 | { | 516 | { |
521 | } | 517 | } |
@@ -546,7 +542,6 @@ void __init leon_init_IRQ(void) | |||
546 | #ifdef CONFIG_SMP | 542 | #ifdef CONFIG_SMP |
547 | BTFIXUPSET_CALL(set_cpu_int, leon_set_cpu_int, BTFIXUPCALL_NORM); | 543 | BTFIXUPSET_CALL(set_cpu_int, leon_set_cpu_int, BTFIXUPCALL_NORM); |
548 | BTFIXUPSET_CALL(clear_cpu_int, leon_clear_ipi, BTFIXUPCALL_NORM); | 544 | BTFIXUPSET_CALL(clear_cpu_int, leon_clear_ipi, BTFIXUPCALL_NORM); |
549 | BTFIXUPSET_CALL(set_irq_udt, leon_set_udt, BTFIXUPCALL_NORM); | ||
550 | #endif | 545 | #endif |
551 | 546 | ||
552 | } | 547 | } |
diff --git a/arch/sparc/kernel/sun4d_irq.c b/arch/sparc/kernel/sun4d_irq.c index abf52654a8bc..7796fa511f27 100644 --- a/arch/sparc/kernel/sun4d_irq.c +++ b/arch/sparc/kernel/sun4d_irq.c | |||
@@ -252,10 +252,6 @@ static void sun4d_clear_ipi(int cpu, int level) | |||
252 | { | 252 | { |
253 | } | 253 | } |
254 | 254 | ||
255 | static void sun4d_set_udt(int cpu) | ||
256 | { | ||
257 | } | ||
258 | |||
259 | /* Setup IRQ distribution scheme. */ | 255 | /* Setup IRQ distribution scheme. */ |
260 | void __init sun4d_distribute_irqs(void) | 256 | void __init sun4d_distribute_irqs(void) |
261 | { | 257 | { |
@@ -528,7 +524,6 @@ void __init sun4d_init_IRQ(void) | |||
528 | #ifdef CONFIG_SMP | 524 | #ifdef CONFIG_SMP |
529 | BTFIXUPSET_CALL(set_cpu_int, sun4d_set_cpu_int, BTFIXUPCALL_NORM); | 525 | BTFIXUPSET_CALL(set_cpu_int, sun4d_set_cpu_int, BTFIXUPCALL_NORM); |
530 | BTFIXUPSET_CALL(clear_cpu_int, sun4d_clear_ipi, BTFIXUPCALL_NOP); | 526 | BTFIXUPSET_CALL(clear_cpu_int, sun4d_clear_ipi, BTFIXUPCALL_NOP); |
531 | BTFIXUPSET_CALL(set_irq_udt, sun4d_set_udt, BTFIXUPCALL_NOP); | ||
532 | #endif | 527 | #endif |
533 | /* Cannot enable interrupts until OBP ticker is disabled. */ | 528 | /* Cannot enable interrupts until OBP ticker is disabled. */ |
534 | } | 529 | } |
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) | |||
292 | { | 292 | { |
293 | sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->clear); | 293 | sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->clear); |
294 | } | 294 | } |
295 | |||
296 | static void sun4m_set_udt(int cpu) | ||
297 | { | ||
298 | sbus_writel(cpu, &sun4m_irq_global->interrupt_target); | ||
299 | } | ||
300 | #endif | 295 | #endif |
301 | 296 | ||
302 | struct sun4m_timer_percpu { | 297 | struct sun4m_timer_percpu { |
@@ -492,7 +487,6 @@ void __init sun4m_init_IRQ(void) | |||
492 | #ifdef CONFIG_SMP | 487 | #ifdef CONFIG_SMP |
493 | BTFIXUPSET_CALL(set_cpu_int, sun4m_send_ipi, BTFIXUPCALL_NORM); | 488 | BTFIXUPSET_CALL(set_cpu_int, sun4m_send_ipi, BTFIXUPCALL_NORM); |
494 | BTFIXUPSET_CALL(clear_cpu_int, sun4m_clear_ipi, BTFIXUPCALL_NORM); | 489 | BTFIXUPSET_CALL(clear_cpu_int, sun4m_clear_ipi, BTFIXUPCALL_NORM); |
495 | BTFIXUPSET_CALL(set_irq_udt, sun4m_set_udt, BTFIXUPCALL_NORM); | ||
496 | #endif | 490 | #endif |
497 | 491 | ||
498 | /* Cannot enable interrupts until OBP ticker is disabled. */ | 492 | /* Cannot enable interrupts until OBP ticker is disabled. */ |