diff options
Diffstat (limited to 'arch/m68k/platform/68328/ints.c')
-rw-r--r-- | arch/m68k/platform/68328/ints.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/m68k/platform/68328/ints.c b/arch/m68k/platform/68328/ints.c index a90288cf7446..4bd456531f91 100644 --- a/arch/m68k/platform/68328/ints.c +++ b/arch/m68k/platform/68328/ints.c | |||
@@ -70,9 +70,6 @@ asmlinkage irqreturn_t inthandler7(void); | |||
70 | 70 | ||
71 | extern e_vector *_ramvec; | 71 | extern e_vector *_ramvec; |
72 | 72 | ||
73 | /* The number of spurious interrupts */ | ||
74 | volatile unsigned int num_spurious; | ||
75 | |||
76 | /* The 68k family did not have a good way to determine the source | 73 | /* The 68k family did not have a good way to determine the source |
77 | * of interrupts until later in the family. The EC000 core does | 74 | * of interrupts until later in the family. The EC000 core does |
78 | * not provide the vector number on the stack, we vector everything | 75 | * not provide the vector number on the stack, we vector everything |
@@ -155,7 +152,7 @@ static struct irq_chip intc_irq_chip = { | |||
155 | * This function should be called during kernel startup to initialize | 152 | * This function should be called during kernel startup to initialize |
156 | * the machine vector table. | 153 | * the machine vector table. |
157 | */ | 154 | */ |
158 | void __init init_IRQ(void) | 155 | void __init trap_init(void) |
159 | { | 156 | { |
160 | int i; | 157 | int i; |
161 | 158 | ||
@@ -172,6 +169,11 @@ void __init init_IRQ(void) | |||
172 | _ramvec[69] = (e_vector) inthandler5; | 169 | _ramvec[69] = (e_vector) inthandler5; |
173 | _ramvec[70] = (e_vector) inthandler6; | 170 | _ramvec[70] = (e_vector) inthandler6; |
174 | _ramvec[71] = (e_vector) inthandler7; | 171 | _ramvec[71] = (e_vector) inthandler7; |
172 | } | ||
173 | |||
174 | void __init init_IRQ(void) | ||
175 | { | ||
176 | int i; | ||
175 | 177 | ||
176 | IVR = 0x40; /* Set DragonBall IVR (interrupt base) to 64 */ | 178 | IVR = 0x40; /* Set DragonBall IVR (interrupt base) to 64 */ |
177 | 179 | ||