diff options
author | Greg Ungerer <gerg@uclinux.org> | 2010-11-03 02:21:05 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-01-05 00:19:17 -0500 |
commit | fb670fb8aa637d92aeb53407aae0decd71c1bdee (patch) | |
tree | 69527adfb2f89a98ee63aa4c03a2cfc212b0fa58 /arch/m68knommu/platform | |
parent | 57015421d3f3deafb1f6ccf03a6fe0539763dbee (diff) |
m68knommu: remove fasthandler interrupt code
There are no users of the old "fasthandler" interrupt entry code.
So remove it.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform')
-rw-r--r-- | arch/m68knommu/platform/coldfire/entry.S | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/arch/m68knommu/platform/coldfire/entry.S b/arch/m68knommu/platform/coldfire/entry.S index 5e92bed94b7e..b9ce31966181 100644 --- a/arch/m68knommu/platform/coldfire/entry.S +++ b/arch/m68knommu/platform/coldfire/entry.S | |||
@@ -51,9 +51,7 @@ sw_usp: | |||
51 | .globl ret_from_exception | 51 | .globl ret_from_exception |
52 | .globl ret_from_signal | 52 | .globl ret_from_signal |
53 | .globl sys_call_table | 53 | .globl sys_call_table |
54 | .globl ret_from_interrupt | ||
55 | .globl inthandler | 54 | .globl inthandler |
56 | .globl fasthandler | ||
57 | 55 | ||
58 | enosys: | 56 | enosys: |
59 | mov.l #sys_ni_syscall,%d3 | 57 | mov.l #sys_ni_syscall,%d3 |
@@ -192,31 +190,7 @@ ENTRY(inthandler) | |||
192 | jbsr do_IRQ /* call high level irq handler */ | 190 | jbsr do_IRQ /* call high level irq handler */ |
193 | lea %sp@(8),%sp /* pop args off stack */ | 191 | lea %sp@(8),%sp /* pop args off stack */ |
194 | 192 | ||
195 | bra ret_from_interrupt /* this was fallthrough */ | 193 | bra ret_from_exception |
196 | |||
197 | /* | ||
198 | * This is the fast interrupt handler (for certain hardware interrupt | ||
199 | * sources). Unlike the normal interrupt handler it just uses the | ||
200 | * current stack (doesn't care if it is user or kernel). It also | ||
201 | * doesn't bother doing the bottom half handlers. | ||
202 | */ | ||
203 | ENTRY(fasthandler) | ||
204 | SAVE_LOCAL | ||
205 | |||
206 | movew %sp@(PT_OFF_FORMATVEC),%d0 | ||
207 | andl #0x03fc,%d0 /* mask out vector only */ | ||
208 | |||
209 | movel %sp,%sp@- /* push regs arg */ | ||
210 | lsrl #2,%d0 /* calculate real vector # */ | ||
211 | movel %d0,%sp@- /* push vector number */ | ||
212 | jbsr do_IRQ /* call high level irq handler */ | ||
213 | lea %sp@(8),%sp /* pop args off stack */ | ||
214 | |||
215 | RESTORE_LOCAL | ||
216 | |||
217 | ENTRY(ret_from_interrupt) | ||
218 | /* the fasthandler is confusing me, haven't seen any user */ | ||
219 | jmp ret_from_exception | ||
220 | 194 | ||
221 | /* | 195 | /* |
222 | * Beware - when entering resume, prev (the current task) is | 196 | * Beware - when entering resume, prev (the current task) is |