Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243221
b: refs/heads/master
c: 9cff60d
h: refs/heads/master
i:
  243219: 21580fa
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 28, 2011
1 parent ce0f257 commit ea03578
Show file tree
Hide file tree
Showing 2 changed files with 16 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: 33b054b867b84015173a38d9cd9ff513b6498818
refs/heads/master: 9cff60dfc3d54b60bc069627cee5624bfaa3f823
15 changes: 15 additions & 0 deletions trunk/include/linux/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,21 @@ static inline bool irqd_irq_inprogress(struct irq_data *d)
return d->state_use_accessors & IRQD_IRQ_INPROGRESS;
}

/*
* Functions for chained handlers which can be enabled/disabled by the
* standard disable_irq/enable_irq calls. Must be called with
* irq_desc->lock held.
*/
static inline void irqd_set_chained_irq_inprogress(struct irq_data *d)
{
d->state_use_accessors |= IRQD_IRQ_INPROGRESS;
}

static inline void irqd_clr_chained_irq_inprogress(struct irq_data *d)
{
d->state_use_accessors &= ~IRQD_IRQ_INPROGRESS;
}

/**
* struct irq_chip - hardware interrupt chip descriptor
*
Expand Down

0 comments on commit ea03578

Please sign in to comment.