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

Commit c7e3dde0 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: Add a stub function for init_clusters()



Add a stub function for init_cluster() and remove a ifdefry
for SCHED_HMP in sched_init()

Change-Id: I6745485152d735436d8398818f7fb5e70ce5ee65
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent f1e9995f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -7854,9 +7854,7 @@ void __init sched_init(void)

	BUG_ON(num_possible_cpus() > BITS_PER_LONG);

#ifdef CONFIG_SCHED_HMP
	init_clusters();
#endif

#ifdef CONFIG_FAIR_GROUP_SCHED
	alloc_size += 2 * nr_cpu_ids * sizeof(void **);
+1 −0
Original line number Diff line number Diff line
@@ -1425,6 +1425,7 @@ static inline void clear_hmp_request(int cpu) { }
static inline void mark_task_starting(struct task_struct *p) { }
static inline void set_window_start(struct rq *rq) { }
static inline void migrate_sync_cpu(int cpu, int new_cpu) {}
static inline void init_clusters(void) {}
static inline void update_cluster_topology(void) { }
static inline void set_task_last_wake(struct task_struct *p, u64 wallclock) { }
static inline void set_task_last_switch_out(struct task_struct *p,