Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=aa5346a2126ea65e8ef04eebea0f2481f701bdb8
Commit:     aa5346a2126ea65e8ef04eebea0f2481f701bdb8
Parent:     bf0df636e5ddf43cbacff8435962ee8aa40f563e
Author:     Guennadi Liakhovetski <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 01:24:01 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 09:42:50 2007 -0700

    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]>
---
 include/linux/interrupt.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 5523f19..8e5f289 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -205,6 +205,15 @@ static inline int disable_irq_wake(unsigned int irq)
                                                enable_irq(irq)
 # endif
 
+static inline int enable_irq_wake(unsigned int irq)
+{
+       return 0;
+}
+
+static inline int disable_irq_wake(unsigned int irq)
+{
+       return 0;
+}
 #endif /* CONFIG_GENERIC_HARDIRQS */
 
 #ifndef __ARCH_SET_SOFTIRQ_PENDING
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to