From 151fecfb72a0d602dfe79790602ef64b4e241574 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 19 Feb 2024 01:51:07 +0000 Subject: [PATCH] export RK_PA3 --- kernel/lib/cpumask.c | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/kernel/lib/cpumask.c b/kernel/lib/cpumask.c index c3c76b8..fb22fb2 100644 --- a/kernel/lib/cpumask.c +++ b/kernel/lib/cpumask.c @@ -261,21 +261,3 @@ return next; } EXPORT_SYMBOL(cpumask_any_and_distribute); - -int cpumask_any_distribute(const struct cpumask *srcp) -{ - int next, prev; - - /* NOTE: our first selection will skip 0. */ - prev = __this_cpu_read(distribute_cpu_mask_prev); - - next = cpumask_next(prev, srcp); - if (next >= nr_cpu_ids) - next = cpumask_first(srcp); - - if (next < nr_cpu_ids) - __this_cpu_write(distribute_cpu_mask_prev, next); - - return next; -} -EXPORT_SYMBOL(cpumask_any_distribute); -- Gitblit v1.6.2