From: Jan Beulich Date: Tue, 22 Dec 2015 15:42:44 +0000 (-0700) Subject: x86/LDT: Print the real LDT base address X-Git-Tag: v3.2.77~64 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=d4f0604190a2037a7f43a00c26c77d075b2edfed;hp=cb2b6167ad3f5cdd5bf0f79d78340aac14dcee5b x86/LDT: Print the real LDT base address commit 0d430e3fb3f7cdc13c0d22078b820f682821b45a upstream. This was meant to print base address and entry count; make it do so again. Fixes: 37868fe113ff "x86/ldt: Make modify_ldt synchronous" Signed-off-by: Jan Beulich Acked-by: Andy Lutomirski Link: http://lkml.kernel.org/r/56797D8402000078000C24F0@prv-mh.provo.novell.com Signed-off-by: Thomas Gleixner [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index aaab32e8a078..ee2e70c9fdbf 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -221,7 +221,7 @@ void release_thread(struct task_struct *dead_task) if (dead_task->mm->context.ldt) { printk("WARNING: dead process %8s still has LDT? <%p/%d>\n", dead_task->comm, - dead_task->mm->context.ldt, + dead_task->mm->context.ldt->entries, dead_task->mm->context.ldt->size); BUG(); }