Yuntao Liu (4): kabi: reserve space for struct efi.h:efi kabi: reserve space for struct extable.h:exception_table_entry kabi: reserve space for struct fb.h:fb_deferred_io fb.h:fb_info kabi: reserve space for struct processor.h:thread_struct
arch/arm64/include/asm/extable.h | 3 +++ arch/arm64/include/asm/processor.h | 9 +++++++++ include/linux/efi.h | 3 +++ include/linux/fb.h | 7 +++++++ 4 files changed, 22 insertions(+)
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8X87C
--------------------------------
reserve space for struct efi.h:efi
Signed-off-by: Yuntao Liu liuyuntao12@huawei.com --- include/linux/efi.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/linux/efi.h b/include/linux/efi.h index 80b21d1c6eaf..4e89a4aac75a 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -26,6 +26,7 @@ #include <linux/uuid.h>
#include <asm/page.h> +#include <linux/kabi.h>
struct screen_info;
@@ -669,6 +670,8 @@ extern struct efi {
struct efi_memory_map memmap; unsigned long flags; + KABI_RESERVE(1) + KABI_RESERVE(2) } efi;
#define EFI_RT_SUPPORTED_GET_TIME 0x0001
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8X87C
--------------------------------
reserve space for struct extable.h:exception_table_entry
Signed-off-by: Yuntao Liu liuyuntao12@huawei.com --- arch/arm64/include/asm/extable.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/arch/arm64/include/asm/extable.h b/arch/arm64/include/asm/extable.h index f80ebd0addfd..5355382bf80a 100644 --- a/arch/arm64/include/asm/extable.h +++ b/arch/arm64/include/asm/extable.h @@ -2,6 +2,7 @@ #ifndef __ASM_EXTABLE_H #define __ASM_EXTABLE_H
+#include <linux/kabi.h> /* * The exception table consists of pairs of relative offsets: the first * is the relative offset to an instruction that is allowed to fault, @@ -19,6 +20,8 @@ struct exception_table_entry { int insn, fixup; short type, data; + KABI_RESERVE(1) + KABI_RESERVE(2) };
#define ARCH_HAS_RELATIVE_EXTABLE
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8X87C
--------------------------------
reserve space for struct fb.h:fb_deferred_io fb.h:fb_info
Signed-off-by: Yuntao Liu liuyuntao12@huawei.com --- include/linux/fb.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/include/linux/fb.h b/include/linux/fb.h index c14576458228..ab2a9f4163c7 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -17,6 +17,7 @@ #include <linux/slab.h>
#include <asm/fb.h> +#include <linux/kabi.h>
struct vm_area_struct; struct fb_info; @@ -218,6 +219,8 @@ struct fb_deferred_io { struct list_head pagereflist; /* list of pagerefs for touched pages */ /* callback */ void (*deferred_io)(struct fb_info *info, struct list_head *pagelist); + KABI_RESERVE(1) + KABI_RESERVE(2) }; #endif
@@ -501,6 +504,10 @@ struct fb_info { void *par;
bool skip_vt_switch; /* no VT switch on suspend/resume required */ + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) };
/* This will go away
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8X87C
--------------------------------
reserve space for struct processor.h:thread_struct
Signed-off-by: Yuntao Liu liuyuntao12@huawei.com --- arch/arm64/include/asm/processor.h | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h index 44cada63ed08..9e688b1b13d4 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h @@ -45,6 +45,7 @@ #include <asm/ptrace.h> #include <asm/spectre.h> #include <asm/types.h> +#include <linux/kabi.h>
/* * TASK_SIZE - the maximum size of a user space task. @@ -187,6 +188,14 @@ struct thread_struct { u64 sctlr_user; u64 svcr; u64 tpidr2_el0; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) + KABI_RESERVE(5) + KABI_RESERVE(6) + KABI_RESERVE(7) + KABI_RESERVE(8) };
static inline unsigned int thread_get_vl(struct thread_struct *thread,
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4160 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/V...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4160 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/V...