projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41531c8
)
dma-debug/x86: register pci bus for dma-debug leak detection
author
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 16 Mar 2009 16:50:28 +0000
(17:50 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Tue, 17 Mar 2009 11:56:49 +0000
(12:56 +0100)
Impact: detect dma memory leaks for pci devices
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/pci-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/pci-dma.c
b/arch/x86/kernel/pci-dma.c
index ebf7d454f210ef7bf8e1dc3baef884274afe8b62..c7c4776ff630238a2f8989c865cd0d2ac69f2ef8 100644
(file)
--- a/
arch/x86/kernel/pci-dma.c
+++ b/
arch/x86/kernel/pci-dma.c
@@
-271,6
+271,10
@@
static int __init pci_iommu_init(void)
{
dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
+#ifdef CONFIG_PCI
+ dma_debug_add_bus(&pci_bus_type);
+#endif
+
calgary_iommu_init();
intel_iommu_init();