cpufreq: ppc-corenet-cpufreq: Fix __udivdi3 modpost error
authorTim Gardner <tim.gardner@canonical.com>
Mon, 28 Apr 2014 16:18:18 +0000 (10:18 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Apr 2014 23:28:17 +0000 (01:28 +0200)
commit6712d2931933ada259b82f06c03a855b19937074
tree5409ea5f79f6fd8d99496b8a5874cdbbf33a3cd3
parent8997b185119966c62c6e95e7b010b4060407e358
cpufreq: ppc-corenet-cpufreq: Fix __udivdi3 modpost error

bfa709bc823fc32ee8dd5220d1711b46078235d8 (cpufreq: powerpc: add cpufreq
transition latency for FSL e500mc SoCs) introduced a modpost error:

ERROR: "__udivdi3" [drivers/cpufreq/ppc-corenet-cpufreq.ko] undefined!
make[1]: *** [__modpost] Error 1

Fix this by avoiding 64 bit integer division.

gcc version 4.8.2

Fixes: bfa709bc823f (cpufreq: powerpc: add cpufreq transition latency for FSL e500mc SoCs)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/ppc-corenet-cpufreq.c