hulk inclusion category: feature bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBC1PM
--------------------------------
reserve space for internal.h
Signed-off-by: Luo Gengkun luogengkun2@huawei.com --- kernel/events/internal.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/kernel/events/internal.h b/kernel/events/internal.h index d2e6e6144c54..d1ffa00b91b6 100644 --- a/kernel/events/internal.h +++ b/kernel/events/internal.h @@ -5,6 +5,7 @@ #include <linux/hardirq.h> #include <linux/uaccess.h> #include <linux/refcount.h> +#include <linux/kabi.h>
/* Buffer handling */
@@ -54,6 +55,15 @@ struct perf_buffer { void **aux_pages; void *aux_priv;
+ KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) + KABI_RESERVE(5) + KABI_RESERVE(6) + KABI_RESERVE(7) + KABI_RESERVE(8) + struct perf_event_mmap_page *user_page; void *data_pages[]; };