Reserve space for arm64 related structures. Include efi.h, extable.h, fb.h, processor.h
Yuntao Liu (3): kabi: reserve space for efi.h kabi: reserve space for fb.h kabi: reserve space for processor.h
arch/arm64/include/asm/processor.h | 9 +++++++++ include/linux/efi.h | 3 +++ include/linux/fb.h | 7 +++++++ 3 files changed, 19 insertions(+)
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8X87C
--------------------------------
reserve space for efi.h
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 fb.h
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 processor.h
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/4564 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/L...
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/4564 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/L...