diff options
Diffstat (limited to 'arch/ia64/kernel/irq.c')
| -rw-r--r-- | arch/ia64/kernel/irq.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c index d33244c32759..5ce908ef9c95 100644 --- a/arch/ia64/kernel/irq.c +++ b/arch/ia64/kernel/irq.c | |||
| @@ -163,8 +163,19 @@ void fixup_irqs(void) | |||
| 163 | { | 163 | { |
| 164 | unsigned int irq; | 164 | unsigned int irq; |
| 165 | extern void ia64_process_pending_intr(void); | 165 | extern void ia64_process_pending_intr(void); |
| 166 | extern void ia64_disable_timer(void); | ||
| 167 | extern volatile int time_keeper_id; | ||
| 168 | |||
| 169 | ia64_disable_timer(); | ||
| 170 | |||
| 171 | /* | ||
| 172 | * Find a new timesync master | ||
| 173 | */ | ||
| 174 | if (smp_processor_id() == time_keeper_id) { | ||
| 175 | time_keeper_id = first_cpu(cpu_online_map); | ||
| 176 | printk ("CPU %d is now promoted to time-keeper master\n", time_keeper_id); | ||
| 177 | } | ||
| 166 | 178 | ||
| 167 | ia64_set_itv(1<<16); | ||
| 168 | /* | 179 | /* |
| 169 | * Phase 1: Locate irq's bound to this cpu and | 180 | * Phase 1: Locate irq's bound to this cpu and |
| 170 | * relocate them for cpu removal. | 181 | * relocate them for cpu removal. |
