android_kernel_samsung_msm8976/drivers/cpufreq
Junjie Wu b3123d82c3 cpufreq: stats: Don't update cpufreq_stats_table if it's NULL
When cpufreq_stats_table is not initialized for policy->last_cpu in
CPUFREQ_UPDATE_POLICY_CPU callback, no updates are necessary. Current
implementation dereferences the table unconditionally, causing a crash
if the table is NULL.

Return directly in cpufreq_stats_update_policy_cpu() if
cpufreq_stats_table of policy->last_cpu is NULL.

Change-Id: Ic9ef8120557702791ba5b873532e47cc0a5dc027
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-10-20 14:09:36 -07:00
..
acpi-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
amd_freq_sensitivity.c
arm_big_little.c cpufreq: move freq change notifications to cpufreq core 2013-12-20 19:07:19 -08:00
arm_big_little.h cpufreq: arm_big_little: add in-kernel switching (IKS) support 2013-12-20 19:07:17 -08:00
arm_big_little_dt.c PM / OPP: rename header to linux/pm_opp.h 2013-12-20 19:07:11 -08:00
at32ap-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
blackfin-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
cpu-boost.c cpufreq: cpu-boost: Force most/all tasks to big cluster on input event 2014-08-12 12:05:42 -07:00
cpufreq-cpu0.c PM / OPP: rename header to linux/pm_opp.h 2013-12-20 19:07:11 -08:00
cpufreq-nforce2.c cpufreq: add new routine cpufreq_verify_within_cpu_limits() 2013-12-20 19:07:14 -08:00
cpufreq.c cpufreq: Always allow update of user policy 2014-08-04 10:13:15 +05:30
cpufreq_conservative.c cpufreq: conservative: set requested_freq to policy max when it is over policy max 2013-12-20 19:07:20 -08:00
cpufreq_governor.c cpufreq: Fix timer/workqueue corruption due to double queueing 2014-04-14 06:42:19 -07:00
cpufreq_governor.h cpufreq: use cpufreq_driver->flags to mark CPUFREQ_HAVE_GOVERNOR_PER_POLICY 2013-12-20 19:07:14 -08:00
cpufreq_interactive.c Merge "cpufreq: interactive: Re-evaluate immediately in load change callback" 2014-10-09 08:10:54 -07:00
cpufreq_ondemand.c cpufreq: ondemand: Fix update_sampling_rate race with hotplug 2014-01-13 15:43:17 -08:00
cpufreq_performance.c cpufreq: Clean up header files included in the core 2013-12-20 19:07:02 -08:00
cpufreq_persistent_stats.c cpufreq: persistent_stats: Synchronize access to time_in_state 2014-07-22 15:27:57 -07:00
cpufreq_powersave.c cpufreq: Clean up header files included in the core 2013-12-20 19:07:02 -08:00
cpufreq_stats.c cpufreq: stats: Don't update cpufreq_stats_table if it's NULL 2014-10-20 14:09:36 -07:00
cpufreq_userspace.c cpufreq / governor: Remove fossil comment 2013-12-20 19:07:16 -08:00
cris-artpec3-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
cris-etraxfs-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
davinci-cpufreq.c cpufreq: Implement light weight ->target_index() routine 2013-12-20 19:07:16 -08:00
dbx500-cpufreq.c cpufreq: delete __cpuinit usage from all cpufreq files 2013-12-20 19:06:58 -08:00
e_powersaver.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
elanfreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
exynos-cpufreq.c cpufreq: Use sizeof(*ptr) convetion for computing sizes 2013-12-20 19:07:03 -08:00
exynos-cpufreq.h
exynos4x12-cpufreq.c
exynos4210-cpufreq.c
exynos5250-cpufreq.c
exynos5440-cpufreq.c cpufreq: distinguish drivers that do asynchronous notifications 2013-12-20 19:07:19 -08:00
freq_table.c cpufreq: define generic .attr, .exit() and .verify() routines 2013-12-20 19:07:14 -08:00
gx-suspmod.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
highbank-cpufreq.c cpufreq: highbank-cpufreq: Enable Midway/ECX-2000 2013-12-04 10:57:18 -08:00
ia64-acpi-cpufreq.c cpufreq: move freq change notifications to cpufreq core 2013-12-20 19:07:19 -08:00
imx6q-cpufreq.c PM / OPP: rename header to linux/pm_opp.h 2013-12-20 19:07:11 -08:00
integrator-cpufreq.c cpufreq: add new routine cpufreq_verify_within_cpu_limits() 2013-12-20 19:07:14 -08:00
intel_pstate.c Merge upstream linux-stable v3.10.36 into msm-3.10 2014-04-23 16:23:49 -07:00
Kconfig sched: window-stats: Enhance cpu busy time accounting 2014-10-03 14:03:51 -07:00
Kconfig.arm cpufreq: Kconfig: Move CPU_FREQ_MSM from arch to cpufreq 2014-03-18 11:41:48 -07:00
Kconfig.powerpc cpufreq: remove CONFIG_CPU_FREQ_TABLE 2013-12-20 19:07:16 -08:00
Kconfig.x86 cpufreq: remove CONFIG_CPU_FREQ_TABLE 2013-12-20 19:07:16 -08:00
kirkwood-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
longhaul.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
longhaul.h cpufreq: delete __cpuinit usage from all cpufreq files 2013-12-20 19:06:58 -08:00
longrun.c cpufreq: add new routine cpufreq_verify_within_cpu_limits() 2013-12-20 19:07:14 -08:00
loongson2_cpufreq.c Merge upstream linux-stable v3.10.28 into msm-3.10 2014-03-24 14:28:34 -07:00
Makefile cpufreq: Delete interactive_pro governor 2014-08-27 16:33:04 -07:00
maple-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
mperf.c
mperf.h
omap-cpufreq.c PM / OPP: rename header to linux/pm_opp.h 2013-12-20 19:07:11 -08:00
p4-clockmod.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
pcc-cpufreq.c cpufreq: add new routine cpufreq_verify_within_cpu_limits() 2013-12-20 19:07:14 -08:00
powernow-k6.c Merge upstream tag 'v3.10.40' into msm-3.10 2014-06-18 13:10:54 -07:00
powernow-k7.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
powernow-k7.h
powernow-k8.c Merge upstream linux-stable v3.10.36 into msm-3.10 2014-04-23 16:23:49 -07:00
powernow-k8.h
ppc_cbe_cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
ppc_cbe_cpufreq.h
ppc_cbe_cpufreq_pervasive.c
ppc_cbe_cpufreq_pmi.c
pxa2xx-cpufreq.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-12-20 19:06:56 -08:00
pxa3xx-cpufreq.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-12-20 19:06:56 -08:00
qcom-cpufreq.c qcom-cpufreq: Remove per-cpu workqueue 2014-06-20 19:51:15 -07:00
s3c64xx-cpufreq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
s3c2416-cpufreq.c cpufreq: move freq change notifications to cpufreq core 2013-12-20 19:07:19 -08:00
s5pv210-cpufreq.c
sa1100-cpufreq.c
sa1110-cpufreq.c
sc520_freq.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
sh-cpufreq.c cpufreq: add new routine cpufreq_verify_within_cpu_limits() 2013-12-20 19:07:14 -08:00
sparc-us2e-cpufreq.c cpufreq: move freq change notifications to cpufreq core 2013-12-20 19:07:19 -08:00
sparc-us3-cpufreq.c cpufreq: move freq change notifications to cpufreq core 2013-12-20 19:07:19 -08:00
spear-cpufreq.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-12-20 19:06:56 -08:00
speedstep-centrino.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
speedstep-ich.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c cpufreq: Drop the owner field from struct cpufreq_driver 2013-12-20 19:07:04 -08:00
tegra-cpufreq.c
unicore2-cpufreq.c cpufreq: add new routine cpufreq_verify_within_cpu_limits() 2013-12-20 19:07:14 -08:00