aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/iosapic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c
index bcf91dceaf5d..cffb443a557c 100644
--- a/arch/ia64/kernel/iosapic.c
+++ b/arch/ia64/kernel/iosapic.c
@@ -502,8 +502,9 @@ static int iosapic_find_sharable_irq(unsigned long trigger, unsigned long pol)
502 for (i = 0; i <= NR_IRQS; i++) { 502 for (i = 0; i <= NR_IRQS; i++) {
503 info = &iosapic_intr_info[i]; 503 info = &iosapic_intr_info[i];
504 if (info->trigger == trigger && info->polarity == pol && 504 if (info->trigger == trigger && info->polarity == pol &&
505 (info->dmode == IOSAPIC_FIXED || info->dmode == 505 (info->dmode == IOSAPIC_FIXED ||
506 IOSAPIC_LOWEST_PRIORITY)) { 506 info->dmode == IOSAPIC_LOWEST_PRIORITY) &&
507 can_request_irq(i, IRQF_SHARED)) {
507 if (min_count == -1 || info->count < min_count) { 508 if (min_count == -1 || info->count < min_count) {
508 irq = i; 509 irq = i;
509 min_count = info->count; 510 min_count = info->count;