m68k: use jbsr to call functions instead of bsrl
authorGreg Ungerer <gerg@uclinux.org>
Wed, 9 May 2012 06:59:46 +0000 (16:59 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 15 Jul 2012 23:59:20 +0000 (09:59 +1000)
commit28d5445e94ab22198921b5c0c3e58c3b4a1a0116
treea7656122c3ab7fd4bf90553a20b1aa8125de14ca
parent5bd9dd450173bc1464e8218e717d218075b9f1a4
m68k: use jbsr to call functions instead of bsrl

There is a few places that the m68k entry code uses the bsrl instruction
to call other functions. That instruction is only supported on 68020 and
higher CPU types. If we use jbsr instead the code will be clean for all
68k and ColdFire CPU types.

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