diff options
author | Ashok Raj <ashok.raj@intel.com> | 2006-01-19 19:18:47 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-01-19 19:18:47 -0500 |
commit | b88e926584bf100bc23f5e76b7b674d4257edcb0 (patch) | |
tree | b91879ffd7b4158f4458878c3be3e66dacb57c4c /arch/ia64/kernel/iosapic.c | |
parent | ff741906ad3cf4b8ca1a958acb013a97a6381ca2 (diff) |
[IA64] Fix UP build with BSP removal support.
Causes undefined force_cpei_retarget defined in arch/ia64/kernel/smpboot.c
Push the unneeded code inside #ifdef CONFIG_HOTPLUG_CPU.
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/iosapic.c')
-rw-r--r-- | arch/ia64/kernel/iosapic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index 37ac742da8ed..8832c553230a 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
@@ -655,8 +655,8 @@ get_target_cpu (unsigned int gsi, int vector) | |||
655 | return cpu_physical_id(smp_processor_id()); | 655 | return cpu_physical_id(smp_processor_id()); |
656 | 656 | ||
657 | #ifdef CONFIG_ACPI | 657 | #ifdef CONFIG_ACPI |
658 | if (cpe_vector > 0 && vector == IA64_CPEP_VECTOR) | 658 | if (cpe_vector > 0 && vector == IA64_CPEP_VECTOR) |
659 | return get_cpei_target_cpu(); | 659 | return get_cpei_target_cpu(); |
660 | #endif | 660 | #endif |
661 | 661 | ||
662 | #ifdef CONFIG_NUMA | 662 | #ifdef CONFIG_NUMA |