Change-Id: I12c66b041b801c331d1b631b035bf99d07af763f
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
static void update_topology_flags_workfn(struct work_struct *work);
static DECLARE_WORK(update_topology_flags_work, update_topology_flags_workfn);
+void topology_update(void)
+{
+ if (topology_detect_flags())
+ schedule_work(&update_topology_flags_work);
+}
+
static ssize_t cpu_capacity_store(struct device *dev,
struct device_attribute *attr,
const char *buf,
int topology_cluster_flags(void);
int topology_cpu_flags(void);
int topology_update_cpu_topology(void);
+void topology_update(void);
struct device_node;
bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu);
update_group_capacity(sd, cpu);
rcu_read_unlock();
}
+
+ topology_update();
}
static int __init init_sched_energy_data(void)