]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86_64/kernel/traps.c
[PATCH] x86_64: Fix dump_trace()
[linux-2.6-omap-h63xx.git] / arch / x86_64 / kernel / traps.c
index 1d9eb6db732a73f7b22496f5b4cccfb154ace257..09d2e8a10a496d2dd4c65b19ab7365f5073e2ec0 100644 (file)
@@ -319,7 +319,7 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
        /*
         * This handles the process stack:
         */
-       tinfo = current_thread_info();
+       tinfo = task_thread_info(tsk);
        HANDLE_STACK (valid_stack_ptr(tinfo, stack));
 #undef HANDLE_STACK
        put_cpu();