x86/amd-iommu: Align locking between attach_device and detach_device
commiteba6ac60ba66c6bf6858938442204feaa67dea31
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 1 Sep 2009 10:07:08 +0000 (1 12:07 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 14:15:44 +0000 (3 16:15 +0200)
tree625b39539ebdc6222307b174eae9802bb367f163
parentaa879fff5d12318259816aa35023e941a1e4d3d9
x86/amd-iommu: Align locking between attach_device and detach_device

This patch makes the locking behavior between the functions
attach_device and __attach_device consistent with the
locking behavior between detach_device and __detach_device.

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