
Offering: HULK hulk inclusion category: bugfix bugzilla: 190229 -------------------------------- Fix kabi breakage in struct mm_struct Fixes: 8626086b82b4 ("[Backport] mm/ksm: fix ksm_zero_pages accounting") Signed-off-by: Kaixiong Yu <yukaixiong@huawei.com> --- include/linux/mm_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 929751e09e7a..793c16b99237 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -949,7 +949,8 @@ struct mm_struct { * Represent how many empty pages are merged with kernel zero * pages when enabling KSM use_zero_pages. */ - atomic_long_t ksm_zero_pages; + KABI_REPLACE(unsigned long ksm_zero_pages, + atomic_long_t ksm_zero_pages) #endif /* CONFIG_KSM */ #ifdef CONFIG_LRU_GEN struct { -- 2.25.1