commit | 09ee17eb8ea89514c13980c4010bdbbaea8630c2 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Wed Dec 03 12:19:27 2008 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Wed Dec 03 12:20:46 2008 +0100 |
tree | 2ca56f35c476ded55324b5bc11f050c7131980dd | |
parent | f91ba190648be4ff127d6aaf3993ac19d66dc2c2 [diff] |
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 <joerg.roedel@amd.com>