]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 May 2013 18:38:46 +0000 (11:38 -0700)
commit746cb3d3ce315b53263a1f8a97390be84cfd5ee3
treeaff95c32568d4fe266eeb42a7804bbbaa490a36a
parent94754ecd526651ef163d1b12562b5d0ea7f96ce0
parisc: use long branch in fork_like macro

commit bbbfde782084b4f0d85ddffb88f1cf4650ff40e4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/entry.S