Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dabfab7e authored by Maulik Shah's avatar Maulik Shah
Browse files

soc: qcom: msm_performance: Include msm-core header



msm-core module is no more needed with energy aware scheduler.

Update msm-core header with symbols exported and include it
in msm_performance module to avoid undefined references to
get_cpu_pwr_stats when msm-core is disabled.

Change-Id: Ib25715b5401f8d91f5dba6cdb2d0c2d3d81e3329
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent d98d9ee8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;

+4 −1
Original line number Diff line number Diff line
@@ -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