Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113154
b: refs/heads/master
c: e7913de
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Sep 20, 2008
1 parent 51651bf commit df0986f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7e606a8f863b2119176674610618dad3d80a16d
refs/heads/master: e7913de9285a4e40733cdabbe62b6f1fa3bbdf01
8 changes: 2 additions & 6 deletions trunk/arch/sparc/kernel/sun4m_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ struct sun4m_irq_global {
struct sun4m_irq_percpu __iomem *sun4m_irq_percpu[SUN4M_NCPUS];
struct sun4m_irq_global __iomem *sun4m_irq_global;

static unsigned long dummy;
unsigned long *irq_rcvreg = &dummy;

/* Dave Redman (djhr@tadpole.co.uk)
* The sun4m interrupt registers.
*/
Expand Down Expand Up @@ -369,10 +366,9 @@ void __init sun4m_init_IRQ(void)
for (i = 0; !cpu_find_by_instance(i, NULL, &mid); i++)
sbus_writel(~0x17fff, &sun4m_irq_percpu[mid]->clear);

if (num_cpu_iregs == 4) {
irq_rcvreg = (unsigned long *) &sun4m_irq_global->interrupt_target;
if (num_cpu_iregs == 4)
sbus_writel(0, &sun4m_irq_global->interrupt_target);
}

BTFIXUPSET_CALL(enable_irq, sun4m_enable_irq, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(disable_irq, sun4m_disable_irq, BTFIXUPCALL_NORM);
BTFIXUPSET_CALL(enable_pil_irq, sun4m_enable_pil_irq, BTFIXUPCALL_NORM);
Expand Down

0 comments on commit df0986f

Please sign in to comment.