diff options
Diffstat (limited to 'arch/m68knommu/platform/68360/entry.S')
-rw-r--r-- | arch/m68knommu/platform/68360/entry.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/m68knommu/platform/68360/entry.S b/arch/m68knommu/platform/68360/entry.S index f1af8977f294..55dfefe38642 100644 --- a/arch/m68knommu/platform/68360/entry.S +++ b/arch/m68knommu/platform/68360/entry.S | |||
@@ -120,23 +120,21 @@ Lreturn: | |||
120 | RESTORE_ALL | 120 | RESTORE_ALL |
121 | 121 | ||
122 | /* | 122 | /* |
123 | * This is the main interrupt handler, responsible for calling process_int() | 123 | * This is the main interrupt handler, responsible for calling do_IRQ() |
124 | */ | 124 | */ |
125 | inthandler: | 125 | inthandler: |
126 | SAVE_ALL | 126 | SAVE_ALL |
127 | addql #1,local_irq_count /* put exception # in d0*/ | ||
128 | movew %sp@(PT_VECTOR), %d0 | 127 | movew %sp@(PT_VECTOR), %d0 |
129 | and.l #0x3ff, %d0 | 128 | and.l #0x3ff, %d0 |
130 | lsr.l #0x02, %d0 | 129 | lsr.l #0x02, %d0 |
131 | 130 | ||
132 | movel %sp,%sp@- | 131 | movel %sp,%sp@- |
133 | movel %d0,%sp@- /* put vector # on stack*/ | 132 | movel %d0,%sp@- /* put vector # on stack*/ |
134 | jbsr process_int /* process the IRQ*/ | 133 | jbsr do_IRQ /* process the IRQ*/ |
135 | 3: addql #8,%sp /* pop parameters off stack*/ | 134 | 3: addql #8,%sp /* pop parameters off stack*/ |
136 | bra ret_from_interrupt | 135 | bra ret_from_interrupt |
137 | 136 | ||
138 | ret_from_interrupt: | 137 | ret_from_interrupt: |
139 | subql #1,local_irq_count | ||
140 | jeq 1f | 138 | jeq 1f |
141 | 2: | 139 | 2: |
142 | RESTORE_ALL | 140 | RESTORE_ALL |