projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMD IOMMU: add init code for statistic collection
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
x86
/
include
/
asm
/
amd_iommu_types.h
diff --git
a/arch/x86/include/asm/amd_iommu_types.h
b/arch/x86/include/asm/amd_iommu_types.h
index 1379c5fe86d00d9fff91532fe3915aa606f85322..95c8cd9d22b54401fc8de9cf734512126b34a05f 100644
(file)
--- 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 {
#define ADD_STATS_COUNTER(name, x)
#define SUB_STATS_COUNTER(name, x)
+static inline void amd_iommu_stats_init(void) { }
+
#endif /* CONFIG_AMD_IOMMU_STATS */
#endif /* _ASM_X86_AMD_IOMMU_TYPES_H */