summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2014-02-19 22:11:10 +0100
committerMike Turquette <mturquette@linaro.org>2014-02-26 21:23:29 +0100
commit5585f7317573873f95c1bb7748322c62a6c3a919 (patch)
tree91c8230f367233a21a4cdb61c72bbb94a5e27e5a /drivers/edac
parentclk: zynq: Use clk_readl/clk_writel helper function (diff)
downloadlinux-5585f7317573873f95c1bb7748322c62a6c3a919.tar.xz
linux-5585f7317573873f95c1bb7748322c62a6c3a919.zip
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 <grmoore@altera.com> Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions