diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-21 18:29:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-22 14:44:00 -0400 |
commit | e9ed7e722e3f4cea07cf3c4bfe98c18180a17793 (patch) | |
tree | b1372269f948f5dead789fece8539d7f4de58be0 /arch/arm26 | |
parent | e6f194d8f6f50da6837af637b2fd839c34185f7a (diff) |
take declarations of enable_irq() et.al. to linux/interrupt.h
Now that the last inlined instances are gone, all that is left to do
is turning disable_irq_nosync on arm26 and m68k from defines to aliases
and we are all set - we can make these externs in linux/interrupt.h
uncoditional and kill remaining instances in asm/irq.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm26')
-rw-r--r-- | arch/arm26/kernel/armksyms.c | 2 | ||||
-rw-r--r-- | arch/arm26/kernel/irq.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm26/kernel/armksyms.c b/arch/arm26/kernel/armksyms.c index f735d7e018e4..fe1e3ceed7cb 100644 --- a/arch/arm26/kernel/armksyms.c +++ b/arch/arm26/kernel/armksyms.c | |||
@@ -107,8 +107,6 @@ EXPORT_SYMBOL(__bug); | |||
107 | #endif | 107 | #endif |
108 | EXPORT_SYMBOL(__bad_xchg); | 108 | EXPORT_SYMBOL(__bad_xchg); |
109 | EXPORT_SYMBOL(__readwrite_bug); | 109 | EXPORT_SYMBOL(__readwrite_bug); |
110 | EXPORT_SYMBOL(enable_irq); | ||
111 | EXPORT_SYMBOL(disable_irq); | ||
112 | EXPORT_SYMBOL(set_irq_type); | 110 | EXPORT_SYMBOL(set_irq_type); |
113 | EXPORT_SYMBOL(pm_idle); | 111 | EXPORT_SYMBOL(pm_idle); |
114 | EXPORT_SYMBOL(pm_power_off); | 112 | EXPORT_SYMBOL(pm_power_off); |
diff --git a/arch/arm26/kernel/irq.c b/arch/arm26/kernel/irq.c index d53382c83bf9..2ffe695b062e 100644 --- a/arch/arm26/kernel/irq.c +++ b/arch/arm26/kernel/irq.c | |||
@@ -95,6 +95,11 @@ void disable_irq(unsigned int irq) | |||
95 | desc->enabled = 0; | 95 | desc->enabled = 0; |
96 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 96 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
97 | } | 97 | } |
98 | EXPORT_SYMBOL(disable_irq); | ||
99 | |||
100 | void disable_irq_nosync(unsigned int irq) __attribute__((alias("disable_irq"))); | ||
101 | |||
102 | EXPORT_SYMBOL(disable_irq_nosync); | ||
98 | 103 | ||
99 | /** | 104 | /** |
100 | * enable_irq - enable interrupt handling on an irq | 105 | * enable_irq - enable interrupt handling on an irq |
@@ -131,6 +136,7 @@ void enable_irq(unsigned int irq) | |||
131 | } | 136 | } |
132 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 137 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
133 | } | 138 | } |
139 | EXPORT_SYMBOL(enable_irq); | ||
134 | 140 | ||
135 | int show_interrupts(struct seq_file *p, void *v) | 141 | int show_interrupts(struct seq_file *p, void *v) |
136 | { | 142 | { |