]> git.baikalelectronics.ru Git - kernel.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)
committerHelge Deller <deller@gmx.de>
Mon, 6 May 2013 21:09:48 +0000 (23:09 +0200)
commitc9ea85ccdb51a0903776244e5514ae91ffea3adc
tree66e295f6e8f0223c5ef206df581959bf0f1f684c
parentb30bf21f38b718bf9bea2790fdcda7a61c1f1167
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