From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- 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