From bd0f157b65d82efbe5c6fdd755eb55261ba99096 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 2 May 2020 09:43:50 +0200 Subject: [PATCH] ANDROID: GKI: timer.h: add Android ABI padding to a structure Try to mitigate potential future driver core api changes by adding a padding to struct timer_list. Based on a change made to the RHEL/CENTOS 8 kernel. Bug: 151154716 Signed-off-by: Greg Kroah-Hartman Change-Id: I74673e2271cd757c4871c9bcb69fd73bb22a722b --- include/linux/timer.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/timer.h b/include/linux/timer.h index fda13c9d1256..6d765a94e1d5 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -7,6 +7,7 @@ #include #include #include +#include struct timer_list { /* @@ -21,6 +22,9 @@ struct timer_list { #ifdef CONFIG_LOCKDEP struct lockdep_map lockdep_map; #endif + + ANDROID_KABI_RESERVE(1); + ANDROID_KABI_RESERVE(2); }; #ifdef CONFIG_LOCKDEP