git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d689855
)
[SPARC64]: Fix linkage of enormous kernels.
author
David S. Miller
<davem@sunset.davemloft.net>
Wed, 31 Oct 2007 04:11:28 +0000
(21:11 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 31 Oct 2007 22:30:56 +0000
(15:30 -0700)
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>
No differences found