Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242511
b: refs/heads/master
c: d3e17de
h: refs/heads/master
i:
  242509: f5e8b35
  242507: 0e93680
  242503: 102a54d
  242495: 8ed9a39
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 23, 2011
1 parent e0352c6 commit 8ef9da6
Show file tree
Hide file tree
Showing 2 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: 3b9038912828384e38d82409c281124631c8533b
refs/heads/master: d3e17deb1790ee2123e9d11420be6411d1768b47
9 changes: 9 additions & 0 deletions trunk/include/linux/irqdesc.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,15 @@ static inline void __set_irq_handler_unlocked(int irq,
desc->handle_irq = handler;
}

static inline void
irq_set_lockdep_class(unsigned int irq, struct lock_class_key *class)
{
struct irq_desc *desc = irq_to_desc(irq);

if (desc)
lockdep_set_class(&desc->lock, class);
}

#ifdef CONFIG_IRQ_PREFLOW_FASTEOI
static inline void
__irq_set_preflow_handler(unsigned int irq, irq_preflow_handler_t handler)
Expand Down

0 comments on commit 8ef9da6

Please sign in to comment.