compat: make compat load without CONFIG_CPU_FREQ
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 28 Nov 2012 22:57:37 +0000 (23:57 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Thu, 29 Nov 2012 21:21:36 +0000 (13:21 -0800)
commit866f95144fb3069a7ed32cb49dbae0b2e87443af
treefc9924bd19e7fd4008cf6c3b839dacd5152cf706
parent2306855ebe36516914ae56c74e9ae094471062c6
compat: make compat load without CONFIG_CPU_FREQ

If the kernel was compiled without CONFIG_CPU_FREQ cpufreq_cpu_put() is
not available, this is the case for some ARM kernels. In this case do
not add the backport function compat_cpufreq_quick_get_max to compat.ko.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat/compat-3.1.c
include/linux/compat-3.1.h