Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123216
b: refs/heads/master
c: 470c662
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Ingo Molnar committed Dec 2, 2008
1 parent d406e21 commit 3f89384
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 7807fafa52b990abb321f1212416c71e64523ecb
refs/heads/master: 470c66239ef0336429b35345f3f615d47341e13b
12 changes: 12 additions & 0 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,18 @@ int request_irq(unsigned int irq, irq_handler_t handler,
struct irq_desc *desc;
int retval;

/*
* handle_IRQ_event() always ignores IRQF_DISABLED except for
* the _first_ irqaction (sigh). That can cause oopsing, but
* the behavior is classified as "will not fix" so we need to
* start nudging drivers away from using that idiom.
*/
if ((irqflags & (IRQF_SHARED|IRQF_DISABLED))
== (IRQF_SHARED|IRQF_DISABLED))
pr_warning("IRQ %d/%s: IRQF_DISABLED is not "
"guaranteed on shared IRQs\n",
irq, devname);

#ifdef CONFIG_LOCKDEP
/*
* Lockdep wants atomic interrupt handlers:
Expand Down

0 comments on commit 3f89384

Please sign in to comment.