From: Joerg Roedel Date: Thu, 10 Dec 2009 10:03:39 +0000 (+0100) Subject: x86/amd-iommu: Fix passthrough mode X-Git-Tag: v2.6.33-rc1~304^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7cc9554bc73641c9ed4d7eb74b2d6e78f20abea;p=pandora-kernel.git x86/amd-iommu: Fix passthrough mode The data structure changes to use dev->archdata.iommu field broke the iommu=pt mode because in this case the dev->archdata.iommu was left uninitialized. This moves the inititalization of the devices into the main init function and fixes the problem. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed