提交 9f483519 编写于 作者: J James Bottomley 提交者: James Bottomley

[VOYAGER] clockevents driver: bring voyager in to line

The irq0 timer interrupt should be initiallised identically with
mach-default.
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 2feae215
...@@ -40,10 +40,16 @@ void __init trap_init_hook(void) ...@@ -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) void __init time_init_hook(void)
{ {
irq0.mask = cpumask_of_cpu(safe_smp_processor_id());
setup_irq(0, &irq0); setup_irq(0, &irq0);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册