diff options
Diffstat (limited to 'arch/ia64/kernel/irq_ia64.c')
-rw-r--r-- | arch/ia64/kernel/irq_ia64.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c index 2b8cf6e85af4..d8be23fbe6bc 100644 --- a/arch/ia64/kernel/irq_ia64.c +++ b/arch/ia64/kernel/irq_ia64.c | |||
@@ -507,7 +507,7 @@ ia64_handle_irq (ia64_vector vector, struct pt_regs *regs) | |||
507 | if (unlikely(irq < 0)) { | 507 | if (unlikely(irq < 0)) { |
508 | printk(KERN_ERR "%s: Unexpected interrupt " | 508 | printk(KERN_ERR "%s: Unexpected interrupt " |
509 | "vector %d on CPU %d is not mapped " | 509 | "vector %d on CPU %d is not mapped " |
510 | "to any IRQ!\n", __FUNCTION__, vector, | 510 | "to any IRQ!\n", __func__, vector, |
511 | smp_processor_id()); | 511 | smp_processor_id()); |
512 | } else | 512 | } else |
513 | generic_handle_irq(irq); | 513 | generic_handle_irq(irq); |
@@ -572,7 +572,7 @@ void ia64_process_pending_intr(void) | |||
572 | if (unlikely(irq < 0)) { | 572 | if (unlikely(irq < 0)) { |
573 | printk(KERN_ERR "%s: Unexpected interrupt " | 573 | printk(KERN_ERR "%s: Unexpected interrupt " |
574 | "vector %d on CPU %d not being mapped " | 574 | "vector %d on CPU %d not being mapped " |
575 | "to any IRQ!!\n", __FUNCTION__, vector, | 575 | "to any IRQ!!\n", __func__, vector, |
576 | smp_processor_id()); | 576 | smp_processor_id()); |
577 | } else { | 577 | } else { |
578 | vectors_in_migration[irq]=0; | 578 | vectors_in_migration[irq]=0; |
@@ -666,11 +666,7 @@ ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect) | |||
666 | unsigned long ipi_data; | 666 | unsigned long ipi_data; |
667 | unsigned long phys_cpu_id; | 667 | unsigned long phys_cpu_id; |
668 | 668 | ||
669 | #ifdef CONFIG_SMP | ||
670 | phys_cpu_id = cpu_physical_id(cpu); | 669 | phys_cpu_id = cpu_physical_id(cpu); |
671 | #else | ||
672 | phys_cpu_id = (ia64_getreg(_IA64_REG_CR_LID) >> 16) & 0xffff; | ||
673 | #endif | ||
674 | 670 | ||
675 | /* | 671 | /* |
676 | * cpu number is in 8bit ID and 8bit EID | 672 | * cpu number is in 8bit ID and 8bit EID |