aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/amd_iommu_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h
index 1379c5fe86d0..95c8cd9d22b5 100644
--- a/arch/x86/include/asm/amd_iommu_types.h
+++ b/arch/x86/include/asm/amd_iommu_types.h
@@ -420,6 +420,8 @@ struct __iommu_counter {
420#define ADD_STATS_COUNTER(name, x) 420#define ADD_STATS_COUNTER(name, x)
421#define SUB_STATS_COUNTER(name, x) 421#define SUB_STATS_COUNTER(name, x)
422 422
423static inline void amd_iommu_stats_init(void) { }
424
423#endif /* CONFIG_AMD_IOMMU_STATS */ 425#endif /* CONFIG_AMD_IOMMU_STATS */
424 426
425#endif /* _ASM_X86_AMD_IOMMU_TYPES_H */ 427#endif /* _ASM_X86_AMD_IOMMU_TYPES_H */