aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-12-12 07:50:21 -0500
committerJoerg Roedel <joerg.roedel@amd.com>2009-01-03 08:11:58 -0500
commit7f26508bbb76ce86aad1130ef6b7f1a4bb7de0c2 (patch)
tree92efde72a5101c1aed8858272f150c1c281bc3b8 /arch/x86/include
parenta9dddbe0497ab0df7ee729e8d4cb0ee2dec3e4ba (diff)
AMD IOMMU: add init code for statistic collection
Impact: create a new debugfs directory Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
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 */