arm64: pass a task parameter to unwind_frame()
[cascardo/linux.git] / arch / arm64 / kernel / process.c
index f75b540..98bf546 100644 (file)
@@ -348,7 +348,7 @@ unsigned long get_wchan(struct task_struct *p)
        do {
                if (frame.sp < stack_page ||
                    frame.sp >= stack_page + THREAD_SIZE ||
-                   unwind_frame(&frame))
+                   unwind_frame(p, &frame))
                        return 0;
                if (!in_sched_functions(frame.pc))
                        return frame.pc;