amd-iommu: consolidate hardware initialization to one function
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 4 May 2009 16:41:16 +0000 (18:41 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 28 May 2009 16:08:58 +0000 (18:08 +0200)
commit58492e128892e3b55f1a6ef0cf3c3ab4ce7cc214
treef477f7c2f7290deb1325e3a91e549617ad05d08b
parent3bd221724adb9d642270df0e78b0105fb61e4a1c
amd-iommu: consolidate hardware initialization to one function

This patch restructures the AMD IOMMU initialization code to initialize
all hardware registers with one single function call.
This is helpful for suspend/resume support.

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