summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-01-26 14:03:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2025-01-26 14:03:44 -0800
commit5fb40886243b64b8e084b99d983a19c10e296e9c (patch)
tree941a3dc7901d2e54be1ba6b166ac6ca21ae45911 /kernel
parentc2da8b3f914f83fb9089d26a692eb8f22146ddb9 (diff)
parente876695aab1e3d4743e11633219cea456820660b (diff)
Merge tag 'bitmap-for-6.14' of https://github.com:/norov/linux
Pull bitmap updates from Yury Norov: "This includes const_true() series from Vincent Mailhol, another __always_inline rework from Nathan Chancellor for RISCV, and a couple of random fixes from Dr. David Alan Gilbert and I Hsin Cheng" * tag 'bitmap-for-6.14' of https://github.com:/norov/linux: cpumask: Rephrase comments for cpumask_any*() APIs cpu: Remove unused init_cpu_online riscv: Always inline bitops linux/bits.h: simplify GENMASK_INPUT_CHECK() compiler.h: add const_true()
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cpu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 0509a9733745..10f0dd784ef7 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -3128,11 +3128,6 @@ void init_cpu_possible(const struct cpumask *src)
cpumask_copy(&__cpu_possible_mask, src);
}
-void init_cpu_online(const struct cpumask *src)
-{
- cpumask_copy(&__cpu_online_mask, src);
-}
-
void set_cpu_online(unsigned int cpu, bool online)
{
/*