mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-06 02:39:06 -05:00
lockdep: Add missing disable/enable irq variant
Add missing disable/enable irq variant Signed-off-by: Roman Zippel <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
39ad2cb352
commit
b3e2fd9ceb
1 changed files with 5 additions and 1 deletions
|
|
@ -185,10 +185,14 @@ static inline int disable_irq_wake(unsigned int irq)
|
|||
* validator need to define the methods below in their asm/irq.h
|
||||
* files, under an #ifdef CONFIG_LOCKDEP section.
|
||||
*/
|
||||
# ifndef CONFIG_LOCKDEP
|
||||
#ifndef CONFIG_LOCKDEP
|
||||
# define disable_irq_nosync_lockdep(irq) disable_irq_nosync(irq)
|
||||
# define disable_irq_nosync_lockdep_irqsave(irq, flags) \
|
||||
disable_irq_nosync(irq)
|
||||
# define disable_irq_lockdep(irq) disable_irq(irq)
|
||||
# define enable_irq_lockdep(irq) enable_irq(irq)
|
||||
# define enable_irq_lockdep_irqrestore(irq, flags) \
|
||||
enable_irq(irq)
|
||||
# endif
|
||||
|
||||
#endif /* CONFIG_GENERIC_HARDIRQS */
|
||||
|
|
|
|||
Loading…
Reference in a new issue