diff options
Diffstat (limited to 'arch/m68k/bvme6000/config.c')
-rw-r--r-- | arch/m68k/bvme6000/config.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/arch/m68k/bvme6000/config.c b/arch/m68k/bvme6000/config.c index c90cb5fcc8ef..d1e916ae55a8 100644 --- a/arch/m68k/bvme6000/config.c +++ b/arch/m68k/bvme6000/config.c | |||
@@ -36,15 +36,8 @@ | |||
36 | #include <asm/machdep.h> | 36 | #include <asm/machdep.h> |
37 | #include <asm/bvme6000hw.h> | 37 | #include <asm/bvme6000hw.h> |
38 | 38 | ||
39 | extern irqreturn_t bvme6000_process_int (int level, struct pt_regs *regs); | ||
40 | extern void bvme6000_init_IRQ (void); | ||
41 | extern void bvme6000_free_irq (unsigned int, void *); | ||
42 | extern int show_bvme6000_interrupts(struct seq_file *, void *); | ||
43 | extern void bvme6000_enable_irq (unsigned int); | ||
44 | extern void bvme6000_disable_irq (unsigned int); | ||
45 | static void bvme6000_get_model(char *model); | 39 | static void bvme6000_get_model(char *model); |
46 | static int bvme6000_get_hardware_list(char *buffer); | 40 | static int bvme6000_get_hardware_list(char *buffer); |
47 | extern int bvme6000_request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct pt_regs *), unsigned long flags, const char *devname, void *dev_id); | ||
48 | extern void bvme6000_sched_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 41 | extern void bvme6000_sched_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); |
49 | extern unsigned long bvme6000_gettimeoffset (void); | 42 | extern unsigned long bvme6000_gettimeoffset (void); |
50 | extern int bvme6000_hwclk (int, struct rtc_time *); | 43 | extern int bvme6000_hwclk (int, struct rtc_time *); |
@@ -100,6 +93,14 @@ static int bvme6000_get_hardware_list(char *buffer) | |||
100 | return 0; | 93 | return 0; |
101 | } | 94 | } |
102 | 95 | ||
96 | /* | ||
97 | * This function is called during kernel startup to initialize | ||
98 | * the bvme6000 IRQ handling routines. | ||
99 | */ | ||
100 | static void bvme6000_init_IRQ(void) | ||
101 | { | ||
102 | m68k_setup_user_interrupt(VEC_USER, 192, NULL); | ||
103 | } | ||
103 | 104 | ||
104 | void __init config_bvme6000(void) | 105 | void __init config_bvme6000(void) |
105 | { | 106 | { |
@@ -127,12 +128,6 @@ void __init config_bvme6000(void) | |||
127 | mach_hwclk = bvme6000_hwclk; | 128 | mach_hwclk = bvme6000_hwclk; |
128 | mach_set_clock_mmss = bvme6000_set_clock_mmss; | 129 | mach_set_clock_mmss = bvme6000_set_clock_mmss; |
129 | mach_reset = bvme6000_reset; | 130 | mach_reset = bvme6000_reset; |
130 | mach_free_irq = bvme6000_free_irq; | ||
131 | mach_process_int = bvme6000_process_int; | ||
132 | mach_get_irq_list = show_bvme6000_interrupts; | ||
133 | mach_request_irq = bvme6000_request_irq; | ||
134 | enable_irq = bvme6000_enable_irq; | ||
135 | disable_irq = bvme6000_disable_irq; | ||
136 | mach_get_model = bvme6000_get_model; | 131 | mach_get_model = bvme6000_get_model; |
137 | mach_get_hardware_list = bvme6000_get_hardware_list; | 132 | mach_get_hardware_list = bvme6000_get_hardware_list; |
138 | 133 | ||