aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/68360/ints.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/platform/68360/ints.c')
-rw-r--r--arch/m68k/platform/68360/ints.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/m68k/platform/68360/ints.c b/arch/m68k/platform/68360/ints.c
index 4af0f4e30f7..44443820d20 100644
--- a/arch/m68k/platform/68360/ints.c
+++ b/arch/m68k/platform/68360/ints.c
@@ -63,9 +63,8 @@ static struct irq_chip intc_irq_chip = {
63 * This function should be called during kernel startup to initialize 63 * This function should be called during kernel startup to initialize
64 * the vector table. 64 * the vector table.
65 */ 65 */
66void init_IRQ(void) 66void __init trap_init(void)
67{ 67{
68 int i;
69 int vba = (CPM_VECTOR_BASE<<4); 68 int vba = (CPM_VECTOR_BASE<<4);
70 69
71 /* set up the vectors */ 70 /* set up the vectors */
@@ -130,6 +129,11 @@ void init_IRQ(void)
130 129
131 /* turn off all CPM interrupts */ 130 /* turn off all CPM interrupts */
132 pquicc->intr_cimr = 0x00000000; 131 pquicc->intr_cimr = 0x00000000;
132}
133
134void init_IRQ(void)
135{
136 int i;
133 137
134 for (i = 0; (i < NR_IRQS); i++) { 138 for (i = 0; (i < NR_IRQS); i++) {
135 irq_set_chip(i, &intc_irq_chip); 139 irq_set_chip(i, &intc_irq_chip);