
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9244H --------------------------- Reserve space for ttm_buffer_object and ttm_operation_ctx in ttm_bo.h Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com> --- include/drm/ttm/ttm_bo.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/drm/ttm/ttm_bo.h b/include/drm/ttm/ttm_bo.h index 0223a41a64b2..3b8816562377 100644 --- a/include/drm/ttm/ttm_bo.h +++ b/include/drm/ttm/ttm_bo.h @@ -35,6 +35,7 @@ #include <linux/kref.h> #include <linux/list.h> +#include <linux/kabi.h> #include "ttm_device.h" @@ -133,6 +134,10 @@ struct ttm_buffer_object { * either of these locks held. */ struct sg_table *sg; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) }; /** @@ -183,6 +188,8 @@ struct ttm_operation_ctx { bool force_alloc; struct dma_resv *resv; uint64_t bytes_moved; + KABI_RESERVE(1) + KABI_RESERVE(2) }; /** -- 2.17.1