From: Joerg Roedel Date: Wed, 3 Dec 2008 11:19:27 +0000 (+0100) Subject: AMD IOMMU: fix possible race while accessing iommu->need_sync X-Git-Tag: v2.6.28-rc8~58^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09ee17eb8ea89514c13980c4010bdbbaea8630c2;p=pandora-kernel.git AMD IOMMU: fix possible race while accessing iommu->need_sync The access to the iommu->need_sync member needs to be protected by the iommu->lock. Otherwise this is a possible race condition. Fix it with this patch. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed