diff options
author | Johannes Weiner <jw@emlix.com> | 2009-03-04 16:21:31 +0100 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2009-04-02 23:43:01 -0700 |
commit | 4c0d214144bcedc0b3582c88d6313055949755b5 (patch) | |
tree | ec732f465e7b4df0aaab5fbc018d146984df9e85 /arch/xtensa/include | |
parent | 72197b18bc0e86feba7cc9f907551e30948bd526 (diff) | |
download | kernel_goldelico_gta04-4c0d214144bcedc0b3582c88d6313055949755b5.zip kernel_goldelico_gta04-4c0d214144bcedc0b3582c88d6313055949755b5.tar.gz kernel_goldelico_gta04-4c0d214144bcedc0b3582c88d6313055949755b5.tar.bz2 |
xtensa: variant irq set callbacks
Allow the core variant code to provide irq enable/disable callbacks.
Signed-off-by: Johannes Weiner <jw@emlix.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r-- | arch/xtensa/include/asm/irq.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/irq.h b/arch/xtensa/include/asm/irq.h index 1620d1e..dfac82d 100644 --- a/arch/xtensa/include/asm/irq.h +++ b/arch/xtensa/include/asm/irq.h @@ -14,6 +14,13 @@ #include <platform/hardware.h> #include <variant/core.h> +#ifdef CONFIG_VARIANT_IRQ_SWITCH +#include <variant/irq.h> +#else +static inline void variant_irq_enable(unsigned int irq) { } +static inline void variant_irq_disable(unsigned int irq) { } +#endif + #ifndef PLATFORM_NR_IRQS # define PLATFORM_NR_IRQS 0 #endif |