From: Muli Ben-Yehuda Date: Tue, 26 Sep 2006 08:52:31 +0000 (+0200) Subject: [PATCH] Calgary IOMMU: fix reference counting of Calgary PCI devices X-Git-Tag: v2.6.19-rc1~1077^2~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=871b17008e93d7e96f96829ce5f0393c9902d25b;p=pandora-kernel.git [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 Signed-off-by: Jon Mason Signed-off-by: Andi Kleen --- Reading git-diff-tree failed