diff options
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 12 |
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, | |||
287 | unsigned int can_cpei_retarget(void) | 287 | unsigned 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 | ||
302 | unsigned int is_cpu_cpei_target(unsigned int cpu) | 306 | unsigned int is_cpu_cpei_target(unsigned int cpu) |