aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/sun4m_irq.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/sparc/kernel/sun4m_irq.c b/arch/sparc/kernel/sun4m_irq.c
index c09ec39d68ae..c6096fc70c61 100644
--- a/arch/sparc/kernel/sun4m_irq.c
+++ b/arch/sparc/kernel/sun4m_irq.c
@@ -59,9 +59,6 @@ struct sun4m_irq_global {
59struct sun4m_irq_percpu __iomem *sun4m_irq_percpu[SUN4M_NCPUS]; 59struct sun4m_irq_percpu __iomem *sun4m_irq_percpu[SUN4M_NCPUS];
60struct sun4m_irq_global __iomem *sun4m_irq_global; 60struct sun4m_irq_global __iomem *sun4m_irq_global;
61 61
62static unsigned long dummy;
63unsigned long *irq_rcvreg = &dummy;
64
65/* Dave Redman (djhr@tadpole.co.uk) 62/* Dave Redman (djhr@tadpole.co.uk)
66 * The sun4m interrupt registers. 63 * The sun4m interrupt registers.
67 */ 64 */
@@ -369,10 +366,9 @@ void __init sun4m_init_IRQ(void)
369 for (i = 0; !cpu_find_by_instance(i, NULL, &mid); i++) 366 for (i = 0; !cpu_find_by_instance(i, NULL, &mid); i++)
370 sbus_writel(~0x17fff, &sun4m_irq_percpu[mid]->clear); 367 sbus_writel(~0x17fff, &sun4m_irq_percpu[mid]->clear);
371 368
372 if (num_cpu_iregs == 4) { 369 if (num_cpu_iregs == 4)
373 irq_rcvreg = (unsigned long *) &sun4m_irq_global->interrupt_target;
374 sbus_writel(0, &sun4m_irq_global->interrupt_target); 370 sbus_writel(0, &sun4m_irq_global->interrupt_target);
375 } 371
376 BTFIXUPSET_CALL(enable_irq, sun4m_enable_irq, BTFIXUPCALL_NORM); 372 BTFIXUPSET_CALL(enable_irq, sun4m_enable_irq, BTFIXUPCALL_NORM);
377 BTFIXUPSET_CALL(disable_irq, sun4m_disable_irq, BTFIXUPCALL_NORM); 373 BTFIXUPSET_CALL(disable_irq, sun4m_disable_irq, BTFIXUPCALL_NORM);
378 BTFIXUPSET_CALL(enable_pil_irq, sun4m_enable_pil_irq, BTFIXUPCALL_NORM); 374 BTFIXUPSET_CALL(enable_pil_irq, sun4m_enable_pil_irq, BTFIXUPCALL_NORM);