mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
sched/walt: remove unused can_halt cpu mask
After reviewing, it was determind that the can_halt_mask is no longer needed. Remove it and cleanup code as appropriate. Change-Id: I5430e6f3eda505e0f8fe1cedb9fa7b20425f6900 Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
This commit is contained in:
parent
4a7f7c378c
commit
42cb4efdab
|
|
@ -908,10 +908,6 @@ extern struct cpumask __cpu_halt_mask;
|
|||
#define cpu_halt_mask ((struct cpumask *)&__cpu_halt_mask)
|
||||
#define cpu_halted(cpu) cpumask_test_cpu((cpu), cpu_halt_mask)
|
||||
|
||||
extern struct cpumask __cpu_can_halt_mask;
|
||||
#define cpu_can_halt_mask ((struct cpumask *)&__cpu_can_halt_mask)
|
||||
#define cpu_can_halt(cpu) cpumask_test_cpu((cpu), cpu_can_halt_mask)
|
||||
|
||||
extern void walt_task_dump(struct task_struct *p);
|
||||
extern void walt_rq_dump(int cpu);
|
||||
extern void walt_dump(void);
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
/* if a cpu is halting */
|
||||
struct cpumask __cpu_halt_mask;
|
||||
struct cpumask __cpu_can_halt_mask;
|
||||
|
||||
static DEFINE_MUTEX(halt_lock);
|
||||
|
||||
|
|
@ -337,9 +336,6 @@ EXPORT_SYMBOL(walt_resume_cpus);
|
|||
|
||||
void walt_halt_init(void)
|
||||
{
|
||||
cpumask_set_cpu(5, cpu_can_halt_mask);
|
||||
cpumask_set_cpu(6, cpu_can_halt_mask);
|
||||
cpumask_set_cpu(7, cpu_can_halt_mask);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_HOTPLUG_CPU */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user