irq.c (52964f87c64e6c6ea671b5bf3030fb1494090a48) irq.c (8528ab84ebe7a1eeed9b0acc808df86663d506c0)
1/*
2 * Derived from arch/i386/kernel/irq.c
3 * Copyright (C) 1992 Linus Torvalds
4 * Adapted from arch/i386 by Gary Thomas
5 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
6 * Updated and modified by Cort Dougan <cort@fsmlabs.com>
7 * Copyright (C) 1996-2001 Cort Dougan
8 * Adapted for Power Macintosh by Paul Mackerras

--- 509 unchanged lines hidden (view full) ---

518
519 /* We might want to match the legacy controller last since
520 * it might potentially be set to match all interrupts in
521 * the absence of a device node. This isn't a problem so far
522 * yet though...
523 */
524 spin_lock_irqsave(&irq_big_lock, flags);
525 list_for_each_entry(h, &irq_hosts, link)
1/*
2 * Derived from arch/i386/kernel/irq.c
3 * Copyright (C) 1992 Linus Torvalds
4 * Adapted from arch/i386 by Gary Thomas
5 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
6 * Updated and modified by Cort Dougan <cort@fsmlabs.com>
7 * Copyright (C) 1996-2001 Cort Dougan
8 * Adapted for Power Macintosh by Paul Mackerras

--- 509 unchanged lines hidden (view full) ---

518
519 /* We might want to match the legacy controller last since
520 * it might potentially be set to match all interrupts in
521 * the absence of a device node. This isn't a problem so far
522 * yet though...
523 */
524 spin_lock_irqsave(&irq_big_lock, flags);
525 list_for_each_entry(h, &irq_hosts, link)
526 if (h->ops->match == NULL || h->ops->match(h, node)) {
526 if (h->ops->match != NULL && h->ops->match(h, node)) {
527 found = h;
528 break;
529 }
530 spin_unlock_irqrestore(&irq_big_lock, flags);
531 return found;
532}
533EXPORT_SYMBOL_GPL(irq_find_host);
534

--- 477 unchanged lines hidden ---
527 found = h;
528 break;
529 }
530 spin_unlock_irqrestore(&irq_big_lock, flags);
531 return found;
532}
533EXPORT_SYMBOL_GPL(irq_find_host);
534

--- 477 unchanged lines hidden ---