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: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5432e05386265281d993199599c6f9dcd17a9daf
This commit is contained in:
Greg Kroah-Hartman
2020-05-02 09:38:21 +02:00
parent eff6517b1e
commit 3cb5c28964

View File

@@ -20,6 +20,7 @@
#include <linux/seqlock.h> #include <linux/seqlock.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/timerqueue.h> #include <linux/timerqueue.h>
#include <linux/android_kabi.h>
struct hrtimer_clock_base; struct hrtimer_clock_base;
struct hrtimer_cpu_base; struct hrtimer_cpu_base;
@@ -124,6 +125,8 @@ struct hrtimer {
u8 is_rel; u8 is_rel;
u8 is_soft; u8 is_soft;
u8 is_hard; u8 is_hard;
ANDROID_KABI_RESERVE(1);
}; };
/** /**