diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-06 22:31:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-06 22:31:34 -0500 |
commit | a0863130757f32df602c1c60326530c0152b626b (patch) | |
tree | bdabe964054174309e1395905423efb07d0b6136 /arch/ia64/kernel/irq_ia64.c | |
parent | b881502666783b2d9ca2fc7a056d0f773073a808 (diff) | |
parent | 45e18c228e131592a922859e1525770a1803191d (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] kprobes arch consolidation build fix
[IA64] update efi region debugging to use MB, GB and TB as well as KB
[IA64] use dev_printk in video quirk
[IA64] remove remaining __FUNCTION__ occurrences
[IA64] remove unnecessary nfs includes from sys_ia32.c
[IA64] remove CONFIG_SMP ifdef in ia64_send_ipi()
[IA64] arch_ptrace() cleanup
[IA64] remove duplicate code from arch_ptrace()
[IA64] convert sys_ptrace to arch_ptrace
[IA64] remove find_thread_for_addr()
[IA64] do not sync RBS when changing PT_AR_BSP or PT_CFM
[IA64] access user RBS directly
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 |