Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64634
b: refs/heads/master
c: 59845b1
h: refs/heads/master
v: v3
  • Loading branch information
Jarek Poplawski authored and Linus Torvalds committed Aug 31, 2007
1 parent c4e1af9 commit 26f7725
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2aeb3db17fc33443d21b11d7121c5627d55717c6
refs/heads/master: 59845b1ffd9121e5ef474ea5f27405fd7a83c85b
11 changes: 4 additions & 7 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,14 +547,11 @@ int request_irq(unsigned int irq, irq_handler_t handler,
* We do this before actually registering it, to make sure that
* a 'real' IRQ doesn't run in parallel with our fake
*/
if (irqflags & IRQF_DISABLED) {
unsigned long flags;
unsigned long flags;

local_irq_save(flags);
handler(irq, dev_id);
local_irq_restore(flags);
} else
handler(irq, dev_id);
local_irq_save(flags);
handler(irq, dev_id);
local_irq_restore(flags);
}
#endif

Expand Down

0 comments on commit 26f7725

Please sign in to comment.