From: Kees Cook Date: Fri, 16 Jan 2015 00:51:46 +0000 (-0800) Subject: x86, boot: Skip relocs when load address unchanged X-Git-Tag: fixes-v4.0-rc1~243^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f285f4a21c3253887caceed493089ece17579d59;p=pandora-kernel.git x86, boot: Skip relocs when load address unchanged On 64-bit, relocation is not required unless the load address gets changed. Without this, relocations do unexpected things when the kernel is above 4G. Reported-by: Baoquan He Signed-off-by: Kees Cook Tested-by: Thomas D. Cc: Vivek Goyal Cc: Jan Beulich Cc: Junjie Mao Cc: Andi Kleen Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/20150116005146.GA4212@www.outflux.net Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed