mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
Merge branch 'irq/urgent' into irq/core
Merge urgent fixes so pending patches for 4.9 can be applied.
This commit is contained in:
commit
464b5847e6
262 changed files with 2549 additions and 1644 deletions
|
@ -953,6 +953,16 @@ static inline void irq_gc_lock(struct irq_chip_generic *gc) { }
|
|||
static inline void irq_gc_unlock(struct irq_chip_generic *gc) { }
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The irqsave variants are for usage in non interrupt code. Do not use
|
||||
* them in irq_chip callbacks. Use irq_gc_lock() instead.
|
||||
*/
|
||||
#define irq_gc_lock_irqsave(gc, flags) \
|
||||
raw_spin_lock_irqsave(&(gc)->lock, flags)
|
||||
|
||||
#define irq_gc_unlock_irqrestore(gc, flags) \
|
||||
raw_spin_unlock_irqrestore(&(gc)->lock, flags)
|
||||
|
||||
static inline void irq_reg_writel(struct irq_chip_generic *gc,
|
||||
u32 val, int reg_offset)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue