提交 d2332d0d 编写于 作者: J Jialin Zhang 提交者: Zheng Zengkai

kabi: reserve space for posix clock related structure

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4JBL0
CVE: NA

-------------------------------

Reserve space for posix clock related structure.
Signed-off-by: NJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 9fc7fbaf
......@@ -12,6 +12,7 @@
#include <linux/poll.h>
#include <linux/posix-timers.h>
#include <linux/rwsem.h>
#include <linux/kabi.h>
struct posix_clock;
......@@ -62,6 +63,13 @@ struct posix_clock_operations {
ssize_t (*read) (struct posix_clock *pc,
uint flags, char __user *buf, size_t cnt);
KABI_RESERVE(1)
KABI_RESERVE(2)
KABI_RESERVE(3)
KABI_RESERVE(4)
KABI_RESERVE(5)
KABI_RESERVE(6)
};
/**
......@@ -88,6 +96,15 @@ struct posix_clock {
struct device *dev;
struct rw_semaphore rwsem;
bool zombie;
KABI_RESERVE(1)
KABI_RESERVE(2)
KABI_RESERVE(3)
KABI_RESERVE(4)
KABI_RESERVE(5)
KABI_RESERVE(6)
KABI_RESERVE(7)
KABI_RESERVE(8)
};
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册