From: David S. Miller Date: Wed, 31 Oct 2007 04:11:28 +0000 (-0700) Subject: [SPARC64]: Fix linkage of enormous kernels. X-Git-Tag: v2.6.24-rc2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52eb053b7191f1d3017a56e921753e3097876c47;p=pandora-kernel.git [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 --- Reading git-diff-tree failed