ANDROID: fiq_debugger: Pass task parameter to unwind_frame()
authorJeff Vander Stoep <jeffv@google.com>
Mon, 19 Sep 2016 04:39:28 +0000 (21:39 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Tue, 20 Sep 2016 19:54:48 +0000 (12:54 -0700)
Fixes: fe13f95b7200 ("arm64: pass a task parameter to unwind_frame()")

Bug: 30369029
Patchset: rework-pagetable

Change-Id: I9a4ab50ef61532d27282f189f063c938c196ec08
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
drivers/staging/android/fiq_debugger/fiq_debugger_arm64.c

index 99c6584fcfa58f6dfe3c62ca54f714f520e10053..97246bcbcd62548ebd60f6bc93a2ce66f83fd40b 100644 (file)
@@ -197,6 +197,6 @@ void fiq_debugger_dump_stacktrace(struct fiq_debugger_output *output,
                frame.sp = regs->sp;
                frame.pc = regs->pc;
                output->printf(output, "\n");
-               walk_stackframe(&frame, report_trace, &sts);
+               walk_stackframe(current, &frame, report_trace, &sts);
        }
 }