Commit 0a165ad2 authored by Jan Beulich's avatar Jan Beulich Committed by Zefan Li

x86/LDT: Print the real LDT base address

commit 0d430e3f upstream.

This was meant to print base address and entry count; make it do so
again.

Fixes: 37868fe1 "x86/ldt: Make modify_ldt synchronous"
Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Acked-by: default avatarAndy Lutomirski <luto@kernel.org>
Link: http://lkml.kernel.org/r/56797D8402000078000C24F0@prv-mh.provo.novell.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
[lizf: Backported to 3.4: adjust context]
Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
parent 78578995
......@@ -119,7 +119,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();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment