]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
AMD IOMMU: use cmd_buf_size when freeing the command buffer
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 17 Sep 2008 15:18:17 +0000 (17:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:31 +0000 (12:59 +0200)
commit23c1713fe9e6ac886a4d44415298d0cbb2e83df2
tree8726c12786a9922bd68d1e5c99a092af67e1827c
parentb514e55569855bbaab782a8ec073630ed4e99c68
AMD IOMMU: use cmd_buf_size when freeing the command buffer

The command buffer release function uses the CMD_BUF_SIZE macro for
get_order. Replace this with iommu->cmd_buf_size which is more reliable
about the actual size of the buffer.

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