From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- 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