Loading arch/arm64/configs/sdm670_defconfig +0 −1 Original line number Diff line number Diff line Loading @@ -508,7 +508,6 @@ CONFIG_MSM_AVTIMER=y CONFIG_MSM_EVENT_TIMER=y CONFIG_MSM_PM=y CONFIG_MSM_QBT1000=y CONFIG_APSS_CORE_EA=y CONFIG_QCOM_DCC_V2=y CONFIG_QTI_RPM_STATS_LOG=y CONFIG_QCOM_FORCE_WDOG_BITE_ON_PANIC=y Loading drivers/soc/qcom/msm_performance.c +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <linux/module.h> #include <linux/input.h> #include <linux/kthread.h> #include <soc/qcom/msm-core.h> static struct mutex managed_cpus_lock; Loading include/soc/qcom/msm-core.h +4 −1 Original line number Diff line number Diff line Loading @@ -16,9 +16,12 @@ #ifdef CONFIG_APSS_CORE_EA void set_cpu_throttled(struct cpumask *mask, bool throttling); struct blocking_notifier_head *get_power_update_notifier(void); void trigger_cpu_pwr_stats_calc(void); struct cpu_pwr_stats *get_cpu_pwr_stats(void); #else static inline void set_cpu_throttled(struct cpumask *mask, bool throttling) {} struct blocking_notifier_head *get_power_update_notifier(void) {return NULL; } static inline void trigger_cpu_pwr_stats_calc(void) {} struct cpu_pwr_stats *get_cpu_pwr_stats(void) {return NULL; } #endif #endif Loading
arch/arm64/configs/sdm670_defconfig +0 −1 Original line number Diff line number Diff line Loading @@ -508,7 +508,6 @@ CONFIG_MSM_AVTIMER=y CONFIG_MSM_EVENT_TIMER=y CONFIG_MSM_PM=y CONFIG_MSM_QBT1000=y CONFIG_APSS_CORE_EA=y CONFIG_QCOM_DCC_V2=y CONFIG_QTI_RPM_STATS_LOG=y CONFIG_QCOM_FORCE_WDOG_BITE_ON_PANIC=y Loading
drivers/soc/qcom/msm_performance.c +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <linux/module.h> #include <linux/input.h> #include <linux/kthread.h> #include <soc/qcom/msm-core.h> static struct mutex managed_cpus_lock; Loading
include/soc/qcom/msm-core.h +4 −1 Original line number Diff line number Diff line Loading @@ -16,9 +16,12 @@ #ifdef CONFIG_APSS_CORE_EA void set_cpu_throttled(struct cpumask *mask, bool throttling); struct blocking_notifier_head *get_power_update_notifier(void); void trigger_cpu_pwr_stats_calc(void); struct cpu_pwr_stats *get_cpu_pwr_stats(void); #else static inline void set_cpu_throttled(struct cpumask *mask, bool throttling) {} struct blocking_notifier_head *get_power_update_notifier(void) {return NULL; } static inline void trigger_cpu_pwr_stats_calc(void) {} struct cpu_pwr_stats *get_cpu_pwr_stats(void) {return NULL; } #endif #endif