From a685bf3fce625a5ce3675b3bcf73266a759e5fbd Mon Sep 17 00:00:00 2001 From: lijianzhong Date: Mon, 31 May 2021 17:39:46 +0800 Subject: [PATCH] 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 Change-Id: I7919a893ab64bb441ab43cbb0b16825ed76d802d --- kernel/cgroup/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index a373654da841..6b9678df06f1 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -3336,7 +3336,7 @@ void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) rcu_read_unlock(); spin_unlock_irqrestore(&callback_lock, flags); } - +EXPORT_SYMBOL_GPL(cpuset_cpus_allowed); /** * cpuset_cpus_allowed_fallback - final fallback before complete catastrophe. * @tsk: pointer to task_struct with which the scheduler is struggling