From: Muli Ben-Yehuda Date: Tue, 26 Sep 2006 08:52:33 +0000 (+0200) Subject: [PATCH] only verify the allocation bitmap if CONFIG_IOMMU_DEBUG is on X-Git-Tag: v2.6.19-rc1~1077^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=796e4390e0378e1e57c033349610cfc741696a3d;p=pandora-kernel.git [PATCH] only verify the allocation bitmap if CONFIG_IOMMU_DEBUG is on Introduce new function verify_bit_range(). Define two versions, one for CONFIG_IOMMU_DEBUG enabled and one for disabled. Previously we were checking that the bitmap was consistent every time we allocated or freed an entry in the TCE table, which is good for debugging but incurs an unnecessary penalty on non debug builds. Signed-off-by: Muli Ben-Yehuda Signed-off-by: Jon Mason Signed-off-by: Andi Kleen --- Reading git-diff-tree failed