ANDROID: export cpuset_cpus_allowed()for GKI purpose.
Exporting the symbol cpuset_cpus_allowed(), in which ko module can do cpuset operation in vendor hook related code. Bug: 189725786 Signed-off-by: lijianzhong <lijianzhong@xiaomi.com> Change-Id: I7919a893ab64bb441ab43cbb0b16825ed76d802d
This commit is contained in:
@@ -3336,7 +3336,7 @@ void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask)
|
|||||||
rcu_read_unlock();
|
rcu_read_unlock();
|
||||||
spin_unlock_irqrestore(&callback_lock, flags);
|
spin_unlock_irqrestore(&callback_lock, flags);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(cpuset_cpus_allowed);
|
||||||
/**
|
/**
|
||||||
* cpuset_cpus_allowed_fallback - final fallback before complete catastrophe.
|
* cpuset_cpus_allowed_fallback - final fallback before complete catastrophe.
|
||||||
* @tsk: pointer to task_struct with which the scheduler is struggling
|
* @tsk: pointer to task_struct with which the scheduler is struggling
|
||||||
|
Reference in New Issue
Block a user