From c2c04df929d3f985fcc16ce1fb7caa81ff5403ac Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 2 May 2020 09:38:21 +0200 Subject: [PATCH] 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 Change-Id: I5432e05386265281d993199599c6f9dcd17a9daf --- include/linux/hrtimer.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 0ee140176f10..f5d43920ecd6 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -20,6 +20,7 @@ #include #include #include +#include struct hrtimer_clock_base; struct hrtimer_cpu_base; @@ -124,6 +125,8 @@ struct hrtimer { u8 is_rel; u8 is_soft; u8 is_hard; + + ANDROID_KABI_RESERVE(1); }; /**