Skip to content

Commit aa5346a

Browse files
lyakhLinus Torvalds
authored andcommitted
provide stubs for enable_irq_wake() and disable_irq_wake()
Provide {enable,disable}_irq_wakeup dummies for undefined cross-compilers for platforms without CONFIG_GENERIC_IRQ. Needed by wake-up-from-a-serial-port.patch Signed-off-by: Guennadi Liakhovetski <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent bf0df63 commit aa5346a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

include/linux/interrupt.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,15 @@ static inline int disable_irq_wake(unsigned int irq)
205205
enable_irq(irq)
206206
# endif
207207

208+
static inline int enable_irq_wake(unsigned int irq)
209+
{
210+
return 0;
211+
}
212+
213+
static inline int disable_irq_wake(unsigned int irq)
214+
{
215+
return 0;
216+
}
208217
#endif /* CONFIG_GENERIC_HARDIRQS */
209218

210219
#ifndef __ARCH_SET_SOFTIRQ_PENDING

0 commit comments

Comments
 (0)