ANDROID: Fix CRC error with iommu_* functions
In commit1edce43f47
("iommu/dma: Trace bounce buffer usage when mapping buffers"), a new #include file was added, which now properly defines some structures that were previously not defined, which messes with the CRC of some iommu_* functions. Resolve this by only including the new include file if crc generation is not happening. Bug: 161946584 Fixes:1edce43f47
("iommu/dma: Trace bounce buffer usage when mapping buffers") Change-Id: I57aab13f789b4afe38a5bbb9b3798eab78c0df3e Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
c84ac52917
commit
6644fcfcbc
@ -29,7 +29,9 @@
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/swiotlb.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#ifndef __GENKSYMS__
|
||||
#include <trace/events/swiotlb.h>
|
||||
#endif
|
||||
#include <trace/hooks/iommu.h>
|
||||
|
||||
#include "dma-iommu.h"
|
||||
|
Loading…
Reference in New Issue
Block a user