Merge "arm64: Disable KASAN in uwwind_frame"

This commit is contained in:
Linux Build Service Account 2017-02-27 23:37:29 -08:00 committed by Gerrit - the friendly Code Review server
commit 59a631bcac

View file

@ -69,6 +69,8 @@ int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame)
frame->fp = *(unsigned long *)(fp);
frame->pc = *(unsigned long *)(fp + 8);
kasan_enable_current();
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
if (tsk && tsk->ret_stack &&
(frame->pc == (unsigned long)return_to_handler)) {
@ -112,8 +114,6 @@ int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame)
}
}
kasan_enable_current();
return 0;
}