diff options
author | Ben Hutchings <[email protected]> | 2013-06-28 02:40:30 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2013-06-28 12:56:03 +0200 |
commit | 2779db8d37d4b542d9ca2575f5f178dbeaca6c86 (patch) | |
tree | 2f3053f3d4fab5f4ab37fdcf4fc717c6870f5947 /tools/perf/scripts/python/syscall-counts.py | |
parent | b8394dee787bbd7d52614b7ca44ea7aa05feb9ad (diff) |
genirq: Fix can_request_irq() for IRQs without an action
Commit 02725e7471b8 ('genirq: Use irq_get/put functions'),
inadvertently changed can_request_irq() to return 0 for IRQs that have
no action. This causes pcibios_lookup_irq() to select only IRQs that
already have an action with IRQF_SHARED set, or to fail if there are
none. Change can_request_irq() to return 1 for IRQs that have no
action (if the first two conditions are met).
Reported-by: Bjarni Ingi Gislason <[email protected]>
Tested-by: Bjarni Ingi Gislason <[email protected]> (against 3.2)
Signed-off-by: Ben Hutchings <[email protected]>
Cc: [email protected]
Cc: [email protected] # 2.6.39+
Link: http://bugs.debian.org/709647
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions