Message ID | 20200731044242.1323143-2-davidgow@google.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | KASAN-KUnit Integration | expand |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 683372943093..3a27399c98b1 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1197,6 +1197,10 @@ struct task_struct { struct kcsan_ctx kcsan_ctx; #endif +#if IS_ENABLED(CONFIG_KUNIT) + struct kunit *kunit_test; +#endif + #ifdef CONFIG_FUNCTION_GRAPH_TRACER /* Index of current stored address in ret_stack: */ int curr_ret_stack;