ANDROID: preserve CRC for xhci symbols

In release 5.15.107 a new .h file was included in the xhci code, which
caused the CRCs to change as some structures changed into "real"
structures instead of anonymous definitions.  So preserve the CRCs by
commenting out the #include if GENKSYMS is being calculated.

This will be removed the next KABI break, as it shouldn't be sticking
around long.

Bug: 161946584
Fixes: 83637720ea ("xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I59838b0af869d3e17fc73d72eb473190c50281fd
This commit is contained in:
Greg Kroah-Hartman
2023-04-18 08:07:02 +00:00
parent 82dadab157
commit fcaf5d8a67

View File

@@ -9,7 +9,9 @@
*/
#include <linux/pci.h>
#ifndef __GENKSYMS__ /* ANDROID: KABI CRC preservation hack */
#include <linux/iommu.h>
#endif
#include <linux/iopoll.h>
#include <linux/irq.h>
#include <linux/log2.h>