diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-05-09 12:20:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-05-11 09:28:31 -0400 |
commit | f543110da7a53acb8c6d367e740ca9e110f0bb3a (patch) | |
tree | 69b308ce64fb604a88a69bf2b7cc36640bf9ccc5 /arch/mips/kernel/irq.c | |
parent | 55d0b4e3f6526daf1cc7449028bf5d4c304a6a69 (diff) |
[MIPS] Drop __devinit tag from allocate_irqno() and free_irqno()
This fix these warnings:
WARNING: arch/mips/kernel/built-in.o - Section mismatch: reference to .init.text:free_irqno from __ksymtab_gpl between '__ksymtab_free_irqno' (at offset 0x0) and '__ksymtab_allocate_irqno'
WARNING: arch/mips/kernel/built-in.o - Section mismatch: reference to .init.text:allocate_irqno from __ksymtab_gpl after '__ksymtab_allocate_irqno' (at offset 0x8)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/irq.c')
-rw-r--r-- | arch/mips/kernel/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index 2fe4c868a801..aeded6c17de5 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | static unsigned long irq_map[NR_IRQS / BITS_PER_LONG]; | 29 | static unsigned long irq_map[NR_IRQS / BITS_PER_LONG]; |
30 | 30 | ||
31 | int __devinit allocate_irqno(void) | 31 | int allocate_irqno(void) |
32 | { | 32 | { |
33 | int irq; | 33 | int irq; |
34 | 34 | ||
@@ -59,7 +59,7 @@ void __init alloc_legacy_irqno(void) | |||
59 | BUG_ON(test_and_set_bit(i, irq_map)); | 59 | BUG_ON(test_and_set_bit(i, irq_map)); |
60 | } | 60 | } |
61 | 61 | ||
62 | void __devinit free_irqno(unsigned int irq) | 62 | void free_irqno(unsigned int irq) |
63 | { | 63 | { |
64 | smp_mb__before_clear_bit(); | 64 | smp_mb__before_clear_bit(); |
65 | clear_bit(irq, irq_map); | 65 | clear_bit(irq, irq_map); |