Unverified Commit c78ae848 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4435 v2 kabi: reserve space for struct ptp_clock

parents 5490724d f2c92eb4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
#include <linux/ptp_clock.h>
#include <linux/ptp_clock_kernel.h>
#include <linux/time.h>
#include <linux/kabi.h>

#define PTP_MAX_TIMESTAMPS 128
#define PTP_BUF_TIMESTAMPS 30
@@ -53,6 +54,10 @@ struct ptp_clock {
	struct mutex n_vclocks_mux; /* protect concurrent n_vclocks access */
	bool is_virtual_clock;
	bool has_cycles;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

#define info_to_vclock(d) container_of((d), struct ptp_vclock, info)