smp.c (3a37471551cd3b287ce7f02ed25bcf8ec37a191d) smp.c (b866cc2199d6a6cdcefe4acfe4cfca3ac3c6d38e)
1/*
2 * SMP support for power macintosh.
3 *
4 * We support both the old "powersurge" SMP architecture
5 * and the current Core99 (G4 PowerMac) machines.
6 *
7 * Note that we don't support the very first rev. of
8 * Apple/DayStar 2 CPUs board, the one with the funky

--- 158 unchanged lines hidden (view full) ---

167static irqreturn_t psurge_ipi_intr(int irq, void *d)
168{
169 psurge_clr_ipi(smp_processor_id());
170 smp_ipi_demux();
171
172 return IRQ_HANDLED;
173}
174
1/*
2 * SMP support for power macintosh.
3 *
4 * We support both the old "powersurge" SMP architecture
5 * and the current Core99 (G4 PowerMac) machines.
6 *
7 * Note that we don't support the very first rev. of
8 * Apple/DayStar 2 CPUs board, the one with the funky

--- 158 unchanged lines hidden (view full) ---

167static irqreturn_t psurge_ipi_intr(int irq, void *d)
168{
169 psurge_clr_ipi(smp_processor_id());
170 smp_ipi_demux();
171
172 return IRQ_HANDLED;
173}
174
175static void smp_psurge_cause_ipi(int cpu, unsigned long data)
175static void smp_psurge_cause_ipi(int cpu)
176{
177 psurge_set_ipi(cpu);
178}
179
180static int psurge_host_map(struct irq_domain *h, unsigned int virq,
181 irq_hw_number_t hw)
182{
183 irq_set_chip_and_handler(virq, &dummy_irq_chip, handle_percpu_irq);

--- 850 unchanged lines hidden ---
176{
177 psurge_set_ipi(cpu);
178}
179
180static int psurge_host_map(struct irq_domain *h, unsigned int virq,
181 irq_hw_number_t hw)
182{
183 irq_set_chip_and_handler(virq, &dummy_irq_chip, handle_percpu_irq);

--- 850 unchanged lines hidden ---