diff options
author | Zhang Zhuoyu <Zhuoyu.Zhang@freescale.com> | 2014-06-20 02:13:42 (GMT) |
---|---|---|
committer | Rich Schmitt <B43082@freescale.com> | 2014-09-05 17:19:45 (GMT) |
commit | bca97da5a5ba8111dcbd21dcc2c1f0f57365d565 (patch) | |
tree | 9c8c19003e662dd84fbfc474fcbd70edcc220d38 /drivers/cpufreq/powernow-k6.c | |
parent | d677f2bd4a04a19e245faa23b56253849ca25605 (diff) | |
download | linux-fsl-qoriq-bca97da5a5ba8111dcbd21dcc2c1f0f57365d565.tar.xz |
cpufreq: ppc-corenet-cpu-freq: do_div use quotient
Commit bfa709b (cpufreq: ppc-corenet-cpufreq: Fix __udivdi3 modpost
error) used the remainder from do_div instead of the quotient. Fix that
and add one to ensure minimum is met.
Fixes: bfa709b (cpufreq: ppc-corenet-cpufreq: Fix __udivdi3 modpost error)
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Cc: 3.15+ <stable@vger.kernel.org> # 3.15+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Zhang Zhuoyu <Zhuoyu.Zhang@freescale.com>
Diffstat (limited to 'drivers/cpufreq/powernow-k6.c')
0 files changed, 0 insertions, 0 deletions