
From: Yang Jihong <yangjihong1@huawei.com> hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I90MN1 CVE: NA -------------------------------- Fix kabi breakage in commit e7f2394341aa ("tracing: Have trace_event_file have ref counters") Signed-off-by: Yang Jihong <yangjihong1@huawei.com> Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com> --- include/linux/trace_events.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index e100efa2536e..4630a41c51c0 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -558,9 +558,10 @@ struct trace_event_file { * caching and such. Which is mostly OK ;-) */ unsigned long flags; - atomic_t ref; /* ref count for opened files */ atomic_t sm_ref; /* soft-mode reference counter */ atomic_t tm_ref; /* trigger-mode reference counter */ + + KABI_EXTEND(atomic_t ref) /* ref count for opened files */ }; #define __TRACE_EVENT_FLAGS(name, value) \ -- 2.25.1