From: Joerg Roedel Date: Wed, 17 Sep 2008 15:18:17 +0000 (+0200) Subject: AMD IOMMU: use cmd_buf_size when freeing the command buffer X-Git-Tag: v2.6.28-rc1~712^2^4~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23c1713fe9e6ac886a4d44415298d0cbb2e83df2;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed