diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-25 08:47:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:00:57 -0400 |
commit | 74be8d0835f91f0f77a2f1554dfa7242f1f7b652 (patch) | |
tree | 8a761fdba6a921bad34a9f87ed4af4e336c05e55 /arch/m68k/amiga/config.c | |
parent | 68387c448b7f2b3e2bfa0f606391cd3b602b1997 (diff) |
[PATCH] m68k: convert amiga irq code
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k/amiga/config.c')
-rw-r--r-- | arch/m68k/amiga/config.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c index 12e3706fe02c..b5b8a416a07a 100644 --- a/arch/m68k/amiga/config.c +++ b/arch/m68k/amiga/config.c | |||
@@ -87,17 +87,8 @@ extern char m68k_debug_device[]; | |||
87 | static void amiga_sched_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 87 | static void amiga_sched_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); |
88 | /* amiga specific irq functions */ | 88 | /* amiga specific irq functions */ |
89 | extern void amiga_init_IRQ (void); | 89 | extern void amiga_init_IRQ (void); |
90 | extern irqreturn_t (*amiga_default_handler[]) (int, void *, struct pt_regs *); | ||
91 | extern int amiga_request_irq (unsigned int irq, | ||
92 | irqreturn_t (*handler)(int, void *, struct pt_regs *), | ||
93 | unsigned long flags, const char *devname, | ||
94 | void *dev_id); | ||
95 | extern void amiga_free_irq (unsigned int irq, void *dev_id); | ||
96 | extern void amiga_enable_irq (unsigned int); | ||
97 | extern void amiga_disable_irq (unsigned int); | ||
98 | static void amiga_get_model(char *model); | 90 | static void amiga_get_model(char *model); |
99 | static int amiga_get_hardware_list(char *buffer); | 91 | static int amiga_get_hardware_list(char *buffer); |
100 | extern int show_amiga_interrupts (struct seq_file *, void *); | ||
101 | /* amiga specific timer functions */ | 92 | /* amiga specific timer functions */ |
102 | static unsigned long amiga_gettimeoffset (void); | 93 | static unsigned long amiga_gettimeoffset (void); |
103 | static int a3000_hwclk (int, struct rtc_time *); | 94 | static int a3000_hwclk (int, struct rtc_time *); |
@@ -392,14 +383,8 @@ void __init config_amiga(void) | |||
392 | 383 | ||
393 | mach_sched_init = amiga_sched_init; | 384 | mach_sched_init = amiga_sched_init; |
394 | mach_init_IRQ = amiga_init_IRQ; | 385 | mach_init_IRQ = amiga_init_IRQ; |
395 | mach_default_handler = &amiga_default_handler; | ||
396 | mach_request_irq = amiga_request_irq; | ||
397 | mach_free_irq = amiga_free_irq; | ||
398 | enable_irq = amiga_enable_irq; | ||
399 | disable_irq = amiga_disable_irq; | ||
400 | mach_get_model = amiga_get_model; | 386 | mach_get_model = amiga_get_model; |
401 | mach_get_hardware_list = amiga_get_hardware_list; | 387 | mach_get_hardware_list = amiga_get_hardware_list; |
402 | mach_get_irq_list = show_amiga_interrupts; | ||
403 | mach_gettimeoffset = amiga_gettimeoffset; | 388 | mach_gettimeoffset = amiga_gettimeoffset; |
404 | if (AMIGAHW_PRESENT(A3000_CLK)){ | 389 | if (AMIGAHW_PRESENT(A3000_CLK)){ |
405 | mach_hwclk = a3000_hwclk; | 390 | mach_hwclk = a3000_hwclk; |