aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2015-05-14 01:02:13 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2015-05-14 01:02:13 +0000
commit958fa0ef6a090c4f3c17247a28acf45afcaaf016 (patch)
tree45f01611787f322ab1dbebf3228e23f3c4d575b7
parent76926069003346b68542e055c8210b739907bf8a (diff)
downloadmm-next-958fa0ef6a090c4f3c17247a28acf45afcaaf016.tar.gz
linux-next-rejects
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--arch/x86/kernel/machine_kexec_64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/machine_kexec_64.c b/arch/x86/kernel/machine_kexec_64.c
index 058a9fb14db486..c75ae767d93d5f 100644
--- a/arch/x86/kernel/machine_kexec_64.c
+++ b/arch/x86/kernel/machine_kexec_64.c
@@ -334,8 +334,7 @@ void arch_crash_save_vmcoreinfo(void)
VMCOREINFO_SYMBOL(node_data);
VMCOREINFO_LENGTH(node_data, MAX_NUMNODES);
#endif
- vmcoreinfo_append_str("KERNELOFFSET=%lx\n",
- (unsigned long)&_text - __START_KERNEL);
+ vmcoreinfo_append_str("KERNELOFFSET=%lx\n", kaslr_offset());
VMCOREINFO_PHYS_BASE(phys_base);
}