diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2007-04-30 12:30:10 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-01 11:07:20 -0400 |
commit | 9f483519be82420e308b9a90a96a9c62f28032ae (patch) | |
tree | aba087ce5a7d149a1692faa991b358d65bbd6331 /arch | |
parent | 2feae2158a96aa5e02ca2e630896e6f553c36dc0 (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/mach-voyager/setup.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/i386/mach-voyager/setup.c b/arch/i386/mach-voyager/setup.c index cfa16c151c8f..447bb105cf58 100644 --- a/arch/i386/mach-voyager/setup.c +++ b/arch/i386/mach-voyager/setup.c | |||
@@ -40,10 +40,16 @@ void __init trap_init_hook(void) | |||
40 | { | 40 | { |
41 | } | 41 | } |
42 | 42 | ||
43 | static struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL}; | 43 | static struct irqaction irq0 = { |
44 | .handler = timer_interrupt, | ||
45 | .flags = IRQF_DISABLED | IRQF_NOBALANCING, | ||
46 | .mask = CPU_MASK_NONE, | ||
47 | .name = "timer" | ||
48 | }; | ||
44 | 49 | ||
45 | void __init time_init_hook(void) | 50 | void __init time_init_hook(void) |
46 | { | 51 | { |
52 | irq0.mask = cpumask_of_cpu(safe_smp_processor_id()); | ||
47 | setup_irq(0, &irq0); | 53 | setup_irq(0, &irq0); |
48 | } | 54 | } |
49 | 55 | ||