Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46729d0e authored by Greg Ungerer's avatar Greg Ungerer
Browse files

m68knommu: no need to set register marker on traps



Commit 61619b12 ("m68k: merge mmu and
non-mmu include/asm/entry.h files") made the trap entry code basically
the same for mmu and non-mmu builds. This means we no longer need code
to mark the stack frame as "system-call" type or other in the non-mmu
trap handling entry points. This is done in the SAVE_ALL_INT macro now.

Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent d1db9120
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -44,8 +44,6 @@

ENTRY(buserr)
	SAVE_ALL_INT
	moveq	#-1,%d0
	movel	%d0,%sp@(PT_OFF_ORIG_D0)
	movel	%sp,%sp@- 		/* stack frame pointer argument */
	jsr	buserr_c
	addql	#4,%sp
@@ -53,8 +51,6 @@ ENTRY(buserr)

ENTRY(trap)
	SAVE_ALL_INT
	moveq	#-1,%d0
	movel	%d0,%sp@(PT_OFF_ORIG_D0)
	movel	%sp,%sp@- 		/* stack frame pointer argument */
	jsr	trap_c
	addql	#4,%sp
@@ -65,8 +61,6 @@ ENTRY(trap)
.globl dbginterrupt
ENTRY(dbginterrupt)
	SAVE_ALL_INT
	moveq	#-1,%d0
	movel	%d0,%sp@(PT_OFF_ORIG_D0)
	movel	%sp,%sp@- 		/* stack frame pointer argument */
	jsr	dbginterrupt_c
	addql	#4,%sp