diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-02-08 15:12:37 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2008-02-08 15:12:37 -0500 |
commit | cfefe3c683e0d14c9ce3aeb883c55c7f30c20183 (patch) | |
tree | 77434010fc64f64606e893ce7b6f73243073ebb0 /include/asm-blackfin/bfin-global.h | |
parent | 2c4f829b0ce3d2fb447acca823e141094a50daa5 (diff) |
[Blackfin] arch: hook up set_irq_wake in Blackfin's irq code
- Add support for irq_wake on system and gpio interrupts
- Remove outdated kernel options
- Add option to select default PM mode
- Fix various places where SIC_IWRx was only handled partially
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/bfin-global.h')
-rw-r--r-- | include/asm-blackfin/bfin-global.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-blackfin/bfin-global.h b/include/asm-blackfin/bfin-global.h index 6ae0619d7696..5dba3a735596 100644 --- a/include/asm-blackfin/bfin-global.h +++ b/include/asm-blackfin/bfin-global.h | |||
@@ -70,6 +70,7 @@ extern void program_IAR(void); | |||
70 | extern void evt14_softirq(void); | 70 | extern void evt14_softirq(void); |
71 | extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); | 71 | extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); |
72 | extern void bfin_gpio_interrupt_setup(int irq, int irq_pfx, int type); | 72 | extern void bfin_gpio_interrupt_setup(int irq, int irq_pfx, int type); |
73 | extern int bfin_internal_set_wake(unsigned int irq, unsigned int state); | ||
73 | 74 | ||
74 | extern asmlinkage void finish_atomic_sections (struct pt_regs *regs); | 75 | extern asmlinkage void finish_atomic_sections (struct pt_regs *regs); |
75 | extern char fixed_code_start; | 76 | extern char fixed_code_start; |
@@ -121,6 +122,7 @@ extern unsigned long dpdt_swapcount_table[]; | |||
121 | 122 | ||
122 | extern unsigned long table_start, table_end; | 123 | extern unsigned long table_start, table_end; |
123 | 124 | ||
125 | extern unsigned long bfin_sic_iwr[]; | ||
124 | extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */ | 126 | extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */ |
125 | extern struct file_operations dpmc_fops; | 127 | extern struct file_operations dpmc_fops; |
126 | extern char _start; | 128 | extern char _start; |