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

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

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

Bug: 151154716
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8ff0c2162ca5f7f0b6c7a51bf341c6b1b1c856e8
This commit is contained in:
Greg Kroah-Hartman 2020-05-02 09:39:35 +02:00 committed by Carlos Llamas
parent abc5541f4c
commit 7426a5b28c
1 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#include <linux/of.h>
#include <linux/mutex.h>
#include <linux/radix-tree.h>
#include <linux/android_kabi.h>
struct device_node;
struct fwnode_handle;
@ -171,6 +172,11 @@ struct irq_domain {
struct irq_domain *parent;
#endif
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
ANDROID_KABI_RESERVE(3);
ANDROID_KABI_RESERVE(4);
/* reverse map data. The linear map gets appended to the irq_domain */
irq_hw_number_t hwirq_max;
unsigned int revmap_size;