]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
um: vdso: Remove getcpu support on x86
authorTiwei Bie <tiwei.btw@antgroup.com>
Mon, 27 Oct 2025 00:18:13 +0000 (08:18 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2025 15:41:53 +0000 (16:41 +0100)
commit37f847b7949605e7803d72d6275beeaaf60099e6
tree661300889f699dc4cecb2182ad4fc9f74d2a839d
parent1e4ee5135d814fe4785890790cec81c3132888fb
um: vdso: Remove getcpu support on x86

We are going to support SMP on UML/x86, so we can't hard code
the CPU and NUMA node in __vdso_getcpu() anymore. Let's just
remove it and let applications fall back to the syscall.

Suggested-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20251027001815.1666872-7-tiwei.bie@linux.dev
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/x86/um/vdso/um_vdso.c
arch/x86/um/vdso/vdso.lds.S