diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 18:58:17 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 18:58:17 -0500 |
| commit | e952f31bce6e9f64db01f607abc46529ba57ac9e (patch) | |
| tree | b746bcd315d4f86c9ed7617939f29339fc692852 /arch/ia64/kernel/iosapic.c | |
| parent | e0f4ab8a1741193891f096aa63df9ac8672af54c (diff) | |
| parent | 133a58c1fd97022690d53dd58df56579193cbc1d (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-SGI] SN2-XP reduce kmalloc wrapper inlining
[IA64] MCA: remove obsolete ifdef
[IA64] MCA: update MCA comm field for user space tasks
[IA64] MCA: print messages in MCA handler
[IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly
[IA64] use icc defined constant
[IA64] add __builtin_trap definition for icc build
[IA64] clean up asm/intel_intrin.h
[IA64] map ia64_hint definition to intel compiler intrinsic
[IA64] hooks to wait for mmio writes to drain when migrating processes
[IA64-SGI] driver bugfixes and hardware workarounds for CE1.0 asic
[IA64-SGI] Handle SC env. powerdown events
[IA64] Delete MCA/INIT sigdelayed code
[IA64-SGI] sem2mutex ioc4.c
[IA64] implement ia64 specific mutex primitives
[IA64] Fix UP build with BSP removal support.
[IA64] support for cpu0 removal
Diffstat (limited to 'arch/ia64/kernel/iosapic.c')
| -rw-r--r-- | arch/ia64/kernel/iosapic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index 574084f343fa..8832c553230a 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
| @@ -631,6 +631,7 @@ get_target_cpu (unsigned int gsi, int vector) | |||
| 631 | { | 631 | { |
| 632 | #ifdef CONFIG_SMP | 632 | #ifdef CONFIG_SMP |
| 633 | static int cpu = -1; | 633 | static int cpu = -1; |
| 634 | extern int cpe_vector; | ||
| 634 | 635 | ||
| 635 | /* | 636 | /* |
| 636 | * In case of vector shared by multiple RTEs, all RTEs that | 637 | * In case of vector shared by multiple RTEs, all RTEs that |
| @@ -653,6 +654,11 @@ get_target_cpu (unsigned int gsi, int vector) | |||
| 653 | if (!cpu_online(smp_processor_id())) | 654 | if (!cpu_online(smp_processor_id())) |
| 654 | return cpu_physical_id(smp_processor_id()); | 655 | return cpu_physical_id(smp_processor_id()); |
| 655 | 656 | ||
| 657 | #ifdef CONFIG_ACPI | ||
| 658 | if (cpe_vector > 0 && vector == IA64_CPEP_VECTOR) | ||
| 659 | return get_cpei_target_cpu(); | ||
| 660 | #endif | ||
| 661 | |||
| 656 | #ifdef CONFIG_NUMA | 662 | #ifdef CONFIG_NUMA |
| 657 | { | 663 | { |
| 658 | int num_cpus, cpu_index, iosapic_index, numa_cpu, i = 0; | 664 | int num_cpus, cpu_index, iosapic_index, numa_cpu, i = 0; |
