diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-10-30 21:11:28 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-31 15:30:56 -0700 |
commit | 52eb053b7191f1d3017a56e921753e3097876c47 (patch) | |
tree | 494c5212f096642d815f62472325235b5abecf35 /arch/sparc64 | |
parent | d6898556e90ba9842e59ac9c2425b42ea33019b4 (diff) |
[SPARC64]: Fix linkage of enormous kernels.
This was found by make randconfig
If the kernel .text is very large, the .fixup section branches
are too far away to be relocated correctly.
Use "sethi %hi(label), reg; jmpl reg + %lo(label); %g0" sequence
instead of the branch to fix this.
There is another case in switch_to() involving a branch, which
is fixed similarly.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
0 files changed, 0 insertions, 0 deletions