Skip to content

Commit

Permalink
sched/alt: [Sync] 16bf5a5 smp: Rename flush_smp_call_function_from_id…
Browse files Browse the repository at this point in the history
…le()
  • Loading branch information
cchalpha committed Feb 20, 2023
1 parent cb4b7e3 commit 7b3d432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kernel/sched/alt_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ static int migration_cpu_stop(void *data)
* __migrate_task() such that we will not miss enforcing cpus_ptr
* during wakeups, see set_cpus_allowed_ptr()'s TASK_WAKING test.
*/
flush_smp_call_function_from_idle();
flush_smp_call_function_queue();

raw_spin_lock(&p->pi_lock);
raw_spin_lock(&rq->lock);
Expand Down
4 changes: 2 additions & 2 deletions kernel/sched/alt_sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ static inline int best_mask_cpu(int cpu, const cpumask_t *mask)
return __best_mask_cpu(mask, per_cpu(sched_cpu_topo_masks, cpu));
}

extern void flush_smp_call_function_from_idle(void);
extern void flush_smp_call_function_queue(void);

#else /* !CONFIG_SMP */
static inline void flush_smp_call_function_from_idle(void) { }
static inline void flush_smp_call_function_queue(void) { }
#endif

#ifndef arch_scale_freq_tick
Expand Down

0 comments on commit 7b3d432

Please sign in to comment.