Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31077
b: refs/heads/master
c: 7a55713
h: refs/heads/master
i:
  31075: 682a13d
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jun 29, 2006
1 parent 1bb11d8 commit bfeab0d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd87eb3a24c4527741122713e223d74b85d43c85
refs/heads/master: 7a55713ab456d267815fd5ca3c3d0fd14301f306
8 changes: 8 additions & 0 deletions trunk/kernel/irq/autoprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include <linux/interrupt.h>
#include <linux/delay.h>

#include "internals.h"

/*
* Autodetection depends on the fact that any interrupt that
* comes in on to an unassigned handler will get stuck with
Expand Down Expand Up @@ -41,6 +43,12 @@ unsigned long probe_irq_on(void)

spin_lock_irq(&desc->lock);
if (!desc->action && !(desc->status & IRQ_NOPROBE)) {
/*
* An old-style architecture might still have
* the handle_bad_irq handler there:
*/
compat_irq_chip_set_default_handler(desc);

/*
* Some chips need to know about probing in
* progress:
Expand Down
1 change: 1 addition & 0 deletions trunk/kernel/irq/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned = {
[0 ... NR_IRQS-1] = {
.status = IRQ_DISABLED,
.chip = &no_irq_type,
.handle_irq = handle_bad_irq,
.depth = 1,
.lock = SPIN_LOCK_UNLOCKED,
#ifdef CONFIG_SMP
Expand Down

0 comments on commit bfeab0d

Please sign in to comment.