On 16/6/26 17:28, Philippe Mathieu-Daudé wrote:
Move the two TCG-specific IOMMU method declarations from the
generic "exec/cpu-common.h" header to "accel/tcg/iommu.h".
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
include/accel/tcg/iommu.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/accel/tcg/iommu.h b/include/accel/tcg/iommu.h
index 2b6d0ff7282..a4032a292e5 100644
--- a/include/accel/tcg/iommu.h
+++ b/include/accel/tcg/iommu.h
@@ -7,6 +7,10 @@
#ifndef ACCEL_TCG_IOMMU_H
#define ACCEL_TCG_IOMMU_H
+#ifndef CONFIG_TCG
+#error Can only include this header with TCG
+#endif
Rebase failed :>