hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I908BC
--------------------------------
reserve space for struct timer_list.
Signed-off-by: Yu Liao liaoyu15@huawei.com --- include/linux/timer.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/linux/timer.h b/include/linux/timer.h index 9162f275819a..0c0493e2466a 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -7,6 +7,7 @@ #include <linux/stddef.h> #include <linux/debugobjects.h> #include <linux/stringify.h> +#include <linux/kabi.h>
struct timer_list { /* @@ -21,6 +22,9 @@ struct timer_list { #ifdef CONFIG_LOCKDEP struct lockdep_map lockdep_map; #endif + + KABI_RESERVE(1) + KABI_RESERVE(2) };
#ifdef CONFIG_LOCKDEP