Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbf01163 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: GKI: hrtimer.h: add Android ABI padding to a structure



Try to mitigate potential future driver core api changes by adding a
padding to struct hrtimer.

Based on a change made to the RHEL/CENTOS 8 kernel.

Bug: 151154716
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I5432e05386265281d993199599c6f9dcd17a9daf
parent 63e62b2e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
#include <linux/percpu.h>
#include <linux/timer.h>
#include <linux/timerqueue.h>
#include <linux/android_kabi.h>

struct hrtimer_clock_base;
struct hrtimer_cpu_base;
@@ -115,6 +116,8 @@ struct hrtimer {
	u8				state;
	u8				is_rel;
	u8				is_soft;

	ANDROID_KABI_RESERVE(1);
};

/**