commit | 871b17008e93d7e96f96829ce5f0393c9902d25b | [log] [tgz] |
---|---|---|
author | Muli Ben-Yehuda <muli@il.ibm.com> | Tue Sep 26 10:52:31 2006 +0200 |
committer | Andi Kleen <andi@basil.nowhere.org> | Tue Sep 26 10:52:31 2006 +0200 |
tree | 03916d1e9c800ed74a50606408481c4b1c984f8e | |
parent | b8f4fe66a560b5ccbb4d4d0d2df356a5d9b98b83 [diff] |
[PATCH] Calgary IOMMU: fix reference counting of Calgary PCI devices The pci_get_device() API decrements the reference count on the 'from' parameter when it continues searching. Therefore, take a ref count on Calgary bus when we initialize them in either translated or non-translated mode. Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Jon Mason <jdmason@us.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de>