x86/amd-iommu: Add reset function for command buffers
commit93f1cc67cf3196174412adca87321b25c1c986b0
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 12:50:20 +0000 (3 14:50 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 13:55:34 +0000 (3 15:55 +0200)
tree205d6e92ca752ea9ddae0ce636c826ec93df8358
parentd586d7852ccd0cecb502bf4809f827e60c486af0
x86/amd-iommu: Add reset function for command buffers

This patch factors parts of the command buffer
initialization code into a seperate function which can be
used to reset the command buffer later.

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