Skip to content

Commit

Permalink
[VOYAGER] clockevents driver: bring voyager in to line
Browse files Browse the repository at this point in the history
The irq0 timer interrupt should be initiallised identically with
mach-default.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
James Bottomley authored and James Bottomley committed May 1, 2007
1 parent 2feae21 commit 9f48351
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion arch/i386/mach-voyager/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,16 @@ void __init trap_init_hook(void)
{
}

static struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL};
static struct irqaction irq0 = {
.handler = timer_interrupt,
.flags = IRQF_DISABLED | IRQF_NOBALANCING,
.mask = CPU_MASK_NONE,
.name = "timer"
};

void __init time_init_hook(void)
{
irq0.mask = cpumask_of_cpu(safe_smp_processor_id());
setup_irq(0, &irq0);
}

Expand Down

0 comments on commit 9f48351

Please sign in to comment.