From: Varun Sethi Date: Tue, 24 Jun 2014 13:57:15 +0000 (+0530) Subject: iommu/fsl: Fix PAMU window size check. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~271^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d033f48f3a4a9279c7475891fbb060d4881c22da;p=pandora-kernel.git iommu/fsl: Fix PAMU window size check. is_power_of_2 requires an unsigned long parameter which would lead to truncation of 64 bit values on 32 bit architectures. __ffs also expects an unsigned long parameter thus won't work for 64 bit values on 32 bit architectures. Signed-off-by: Varun Sethi Tested-by: Emil Medve Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed