diff options
author | Kees Cook <[email protected]> | 2015-01-15 16:51:46 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-01-20 12:37:23 +0100 |
commit | f285f4a21c3253887caceed493089ece17579d59 (patch) | |
tree | 17d7cc4556d5a1b144b49f79064cdfa222789441 /lib/memory-notifier-error-inject.c | |
parent | 8abb850a03a3a8b11a0e92949e5b99d9cc178e35 (diff) |
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 <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Tested-by: Thomas D. <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Junjie Mao <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions