- for (i = IRQ_AUTO_1; i <= IRQ_AUTO_7; i++)
- irq_controller[i] = &auto_irq_controller;
-
- mach_init_IRQ();
-}
-
-/**
- * m68k_setup_auto_interrupt
- * @handler: called from auto vector interrupts
- *
- * setup the handler to be called from auto vector interrupts instead of the
- * standard m68k_handle_int(), it will be called with irq numbers in the range
- * from IRQ_AUTO_1 - IRQ_AUTO_7.
- */
-void __init m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_regs *))
-{
- if (handler)
- *auto_irqhandler_fixup = (u32)handler;
- flush_icache();
-}
-
-/**
- * m68k_setup_user_interrupt
- * @vec: first user vector interrupt to handle
- * @cnt: number of active user vector interrupts
- * @handler: called from user vector interrupts
- *
- * setup user vector interrupts, this includes activating the specified range
- * of interrupts, only then these interrupts can be requested (note: this is
- * different from auto vector interrupts). An optional handler can be installed
- * to be called instead of the default m68k_handle_int(), it will be called
- * with irq numbers starting from IRQ_USER.
- */
-void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt,
- void (*handler)(unsigned int, struct pt_regs *))
-{
- int i;
-
- m68k_first_user_vec = vec;
- for (i = 0; i < cnt; i++)
- irq_controller[IRQ_USER + i] = &user_irq_controller;
- *user_irqvec_fixup = vec - IRQ_USER;
- if (handler)
- *user_irqhandler_fixup = (u32)handler;
- flush_icache();
-}
-
-/**
- * m68k_setup_irq_controller
- * @contr: irq controller which controls specified irq
- * @irq: first irq to be managed by the controller
- *
- * Change the controller for the specified range of irq, which will be used to
- * manage these irq. auto/user irq already have a default controller, which can
- * be changed as well, but the controller probably should use m68k_irq_startup/
- * m68k_irq_shutdown.
- */
-void m68k_setup_irq_controller(struct irq_controller *contr, unsigned int irq,
- unsigned int cnt)
-{
- int i;