From: Russell King Date: Mon, 10 Jan 2011 23:55:59 +0000 (+0000) Subject: ARM: udelay: prevent math rounding resulting in short udelays X-Git-Tag: v2.6.38-rc1~39^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56949d414acd30353fdba4b64876a0a7953a7b77;p=pandora-kernel.git ARM: udelay: prevent math rounding resulting in short udelays We perform the microseconds to loops calculation using a number of multiplies and shift rights. Each shift right rounds down the resulting value, which can result in delays shorter than requested. Ensure that we always round up. Signed-off-by: Russell King --- Reading git-diff-tree failed