commit | 23c1713fe9e6ac886a4d44415298d0cbb2e83df2 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Wed Sep 17 17:18:17 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Sep 19 12:59:31 2008 +0200 |
tree | 8726c12786a9922bd68d1e5c99a092af67e1827c | |
parent | b514e55569855bbaab782a8ec073630ed4e99c68 [diff] |
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>