parisc: use long branch in fork_like macro
authorJohn David Anglin <dave.anglin@bell.net>
Sat, 4 May 2013 19:16:41 +0000 (19:16 +0000)
committerHelge Deller <deller@gmx.de>
Mon, 6 May 2013 21:09:48 +0000 (23:09 +0200)
commitbbbfde782084b4f0d85ddffb88f1cf4650ff40e4
tree66e295f6e8f0223c5ef206df581959bf0f1f684c
parent93782eba49e23c3f311a6b05a19ba15927ec4e8b
parisc: use long branch in fork_like macro

The "b" branch instruction used in the fork_like macro only can handle
17-bit pc-relative offsets.
This fails with an out of range offset with some .config files.
Rewrite to use the "be" instruction which
can branch to any address in a space.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/entry.S