mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
[VOYAGER] clockevents driver: bring voyager in to line
The irq0 timer interrupt should be initiallised identically with mach-default. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
2feae2158a
commit
9f483519be
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user