On Tue, Dec 30, 2025, at 08:08, Thomas Weißschuh wrote:
The cache parameter of getcpu() is useless nowadays for various reasons.
- It is never passed by userspace for either the vDSO or syscalls.
- It is never used by the kernel.
- It could not be made to work on the current vDSO architecture.
- The structure definition is not part of the UAPI headers.
- vdso_getcpu() is superseded by restartable sequences in any case.
Remove the struct and its header.
As a side-effect we get rid of an unwanted inclusion of the linux/ header namespace from vDSO code.
Signed-off-by: Thomas Weißschuh thomas.weissschuh@linutronix.de
Acked-by: Arnd Bergmann arnd@arndb.de