From: Joerg Roedel Date: Fri, 28 May 2010 12:26:48 +0000 (+0200) Subject: x86/amd-iommu: Fix crash when request_mem_region fails X-Git-Tag: v2.6.35-rc2~44^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e82752d8b5a7e0a5e4d607fd8713549e2a4e2741;p=pandora-kernel.git x86/amd-iommu: Fix crash when request_mem_region fails When request_mem_region fails the error path tries to disable the IOMMUs. This accesses the mmio-region which was not allocated leading to a kernel crash. This patch fixes the issue. Cc: stable@kernel.org Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed