Skip to content

Commit

Permalink
[MIPS] SB1250: Use the right irqaction for the timer interrupt.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Nov 2, 2007
1 parent d1598b6 commit 46abf4b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions arch/mips/sibyte/sb1250/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,6 @@ static irqreturn_t sibyte_counter_handler(int irq, void *dev_id)
return IRQ_HANDLED;
}

static struct irqaction sibyte_irqaction = {
.handler = sibyte_counter_handler,
.flags = IRQF_DISABLED | IRQF_PERCPU,
.name = "timer",
};

static DEFINE_PER_CPU(struct clock_event_device, sibyte_hpt_clockevent);
static DEFINE_PER_CPU(struct irqaction, sibyte_hpt_irqaction);
static DEFINE_PER_CPU(char [18], sibyte_hpt_name);
Expand Down Expand Up @@ -161,7 +155,7 @@ void __cpuinit sb1250_clockevent_init(void)
action->flags = IRQF_DISABLED | IRQF_PERCPU;
action->name = name;
action->dev_id = cd;
setup_irq(irq, &sibyte_irqaction);
setup_irq(irq, &action);
}

/*
Expand Down

0 comments on commit 46abf4b

Please sign in to comment.