Commit fb670fb8 authored by Greg Ungerer's avatar Greg Ungerer

m68knommu: remove fasthandler interrupt code

There are no users of the old "fasthandler" interrupt entry code.
So remove it.
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent 57015421
...@@ -51,9 +51,7 @@ sw_usp: ...@@ -51,9 +51,7 @@ sw_usp:
.globl ret_from_exception .globl ret_from_exception
.globl ret_from_signal .globl ret_from_signal
.globl sys_call_table .globl sys_call_table
.globl ret_from_interrupt
.globl inthandler .globl inthandler
.globl fasthandler
enosys: enosys:
mov.l #sys_ni_syscall,%d3 mov.l #sys_ni_syscall,%d3
...@@ -192,31 +190,7 @@ ENTRY(inthandler) ...@@ -192,31 +190,7 @@ ENTRY(inthandler)
jbsr do_IRQ /* call high level irq handler */ jbsr do_IRQ /* call high level irq handler */
lea %sp@(8),%sp /* pop args off stack */ lea %sp@(8),%sp /* pop args off stack */
bra ret_from_interrupt /* this was fallthrough */ bra ret_from_exception
/*
* This is the fast interrupt handler (for certain hardware interrupt
* sources). Unlike the normal interrupt handler it just uses the
* current stack (doesn't care if it is user or kernel). It also
* doesn't bother doing the bottom half handlers.
*/
ENTRY(fasthandler)
SAVE_LOCAL
movew %sp@(PT_OFF_FORMATVEC),%d0
andl #0x03fc,%d0 /* mask out vector only */
movel %sp,%sp@- /* push regs arg */
lsrl #2,%d0 /* calculate real vector # */
movel %d0,%sp@- /* push vector number */
jbsr do_IRQ /* call high level irq handler */
lea %sp@(8),%sp /* pop args off stack */
RESTORE_LOCAL
ENTRY(ret_from_interrupt)
/* the fasthandler is confusing me, haven't seen any user */
jmp ret_from_exception
/* /*
* Beware - when entering resume, prev (the current task) is * Beware - when entering resume, prev (the current task) is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment