diff options
author | Tony Luck <tony.luck@intel.com> | 2006-03-21 08:16:21 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-03-21 08:16:21 -0800 |
commit | 536ea4e4198eeaa5a73fb734ea675e621609bb7e (patch) | |
tree | 321384a2233413d7df5f00b3356116c8b05ef08d /arch/ia64/kernel/acpi.c | |
parent | 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 (diff) | |
parent | b88e926584bf100bc23f5e76b7b674d4257edcb0 (diff) | |
download | blackbird-op-linux-536ea4e4198eeaa5a73fb734ea675e621609bb7e.tar.gz blackbird-op-linux-536ea4e4198eeaa5a73fb734ea675e621609bb7e.zip |
Pull bsp-removal into release branch
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index ecd44bdc8394..4722ec51c70c 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c @@ -284,19 +284,24 @@ acpi_parse_plat_int_src(acpi_table_entry_header * header, return 0; } +#ifdef CONFIG_HOTPLUG_CPU unsigned int can_cpei_retarget(void) { extern int cpe_vector; + extern unsigned int force_cpei_retarget; /* * Only if CPEI is supported and the override flag * is present, otherwise return that its re-targettable * if we are in polling mode. */ - if (cpe_vector > 0 && !acpi_cpei_override) - return 0; - else - return 1; + if (cpe_vector > 0) { + if (acpi_cpei_override || force_cpei_retarget) + return 1; + else + return 0; + } + return 1; } unsigned int is_cpu_cpei_target(unsigned int cpu) @@ -315,6 +320,7 @@ void set_cpei_target_cpu(unsigned int cpu) { acpi_cpei_phys_cpuid = cpu_physical_id(cpu); } +#endif unsigned int get_cpei_target_cpu(void) { |