]> git.karo-electronics.de Git - linux-beck.git/commit
m68k: use some direct calls to ret_from_exception in entry code
authorGreg Ungerer <gerg@uclinux.org>
Wed, 9 May 2012 06:03:06 +0000 (16:03 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 15 Jul 2012 23:59:20 +0000 (09:59 +1000)
commit5bd9dd450173bc1464e8218e717d218075b9f1a4
tree83e06d904ae9897dc419e88394e6b1ac75f2213a
parent84a1caf1453c3d44050bd22db958af4a7f99315c
m68k: use some direct calls to ret_from_exception in entry code

The ret_from_excption code is referenced by its function name, or by a label
set at the start of its code. The non-MMU code can share some of this code
if we make direct calls to ret_from_exception instead of the associated label.
The effected function paths are: buserr, trap and ret_from_fork. So change
these to branch directly to ret_from_exception.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/entry_mm.S