x86/amd-iommu: Move reset_iommu_command_buffer out of locked code
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 26 Nov 2009 14:45:41 +0000 (15:45 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:20:37 +0000 (14:20 +0100)
commit8eed9833346781dd15e3bef35a91b0a40787ea3c
tree17e0fb9bc006517cad5949fb9d5d9ecd436cf485
parentb00d3bcff4d996f65e337d404b0df5dc201a01ab
x86/amd-iommu: Move reset_iommu_command_buffer out of locked code

This patch removes the ugly contruct where the
iommu->lock must be released while before calling the
reset_iommu_command_buffer function.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c