From: Dinh Nguyen Date: Wed, 19 Feb 2014 21:11:10 +0000 (-0600) Subject: clk: socfpga: Fix integer overflow in clock calculation X-Git-Tag: v3.15-rc1~72^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5585f7317573873f95c1bb7748322c62a6c3a919;p=pandora-kernel.git clk: socfpga: Fix integer overflow in clock calculation Use 64-bit integer for calculating clock rate. Also use do_div for the 64-bit division. Signed-off-by: Graham Moore Signed-off-by: Dinh Nguyen Cc: Steffen Trumtrar Signed-off-by: Mike Turquette --- Reading git-diff-tree failed