aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/acpi.c
diff options
context:
space:
mode:
authorAshok Raj <ashok.raj@intel.com>2005-11-11 17:32:40 -0500
committerTony Luck <tony.luck@intel.com>2006-01-05 13:24:20 -0500
commitff741906ad3cf4b8ca1a958acb013a97a6381ca2 (patch)
tree66a4c2dbacd4c10015824a6789f9206693003092 /arch/ia64/kernel/acpi.c
parentdb9edfd7e339ca4113153d887e782dd05be5a9eb (diff)
[IA64] support for cpu0 removal
here is the BSP removal support for IA64. Its pretty much the same thing that was released a while back, but has your feedback incorporated. - Removed CONFIG_BSP_REMOVE_WORKAROUND and associated cmdline param - Fixed compile issue with sn2/zx1 due to a undefined fix_b0_for_bsp - some formatting nits (whitespace etc) This has been tested on tiger and long back by alex on hp systems as well. Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r--arch/ia64/kernel/acpi.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index 9ad94ddf6687..fe1d90b0c6ea 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -287,16 +287,20 @@ acpi_parse_plat_int_src(acpi_table_entry_header * header,
287unsigned int can_cpei_retarget(void) 287unsigned int can_cpei_retarget(void)
288{ 288{
289 extern int cpe_vector; 289 extern int cpe_vector;
290 extern unsigned int force_cpei_retarget;
290 291
291 /* 292 /*
292 * Only if CPEI is supported and the override flag 293 * Only if CPEI is supported and the override flag
293 * is present, otherwise return that its re-targettable 294 * is present, otherwise return that its re-targettable
294 * if we are in polling mode. 295 * if we are in polling mode.
295 */ 296 */
296 if (cpe_vector > 0 && !acpi_cpei_override) 297 if (cpe_vector > 0) {
297 return 0; 298 if (acpi_cpei_override || force_cpei_retarget)
298 else 299 return 1;
299 return 1; 300 else
301 return 0;
302 }
303 return 1;
300} 304}
301 305
302unsigned int is_cpu_cpei_target(unsigned int cpu) 306unsigned int is_cpu_cpei_target(unsigned int cpu)