ANDROID: preserve CRC for xhci symbols

In release 5.10.178 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.

Bug: 161946584
Fixes: ec20260950 ("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 a4023d8fc3
commit a406acdee0

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>