]> git.ipfire.org Git - thirdparty/linux.git/commit
sparc64: vdso: Replace code patching with runtime conditional
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 4 Mar 2026 07:49:03 +0000 (08:49 +0100)
committerThomas Gleixner <tglx@kernel.org>
Wed, 11 Mar 2026 09:18:31 +0000 (10:18 +0100)
commit7b4ee085e760cf77993ceca2b7d6a76ab0870d2c
tree01f3c55fbc5e537c22e65e69fbab02a530e3538f
parent9fc4fe6e142ae574a494ae4018b3992b7d5b7d58
sparc64: vdso: Replace code patching with runtime conditional

The patching logic is unnecessarily complicated and stands in the way of
the adoption of the generic vDSO framework.

Replace it by a simple runtime switch, similar to other architectures.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/lkml/87ecu9tfhw.ffs@tglx/
Link: https://patch.msgid.link/20260304-vdso-sparc64-generic-2-v6-6-d8eb3b0e1410@linutronix.de
arch/sparc/vdso/vclock_gettime.c
arch/sparc/vdso/vdso.lds.S
arch/sparc/vdso/vdso32/vdso32.lds.S
arch/sparc/vdso/vma.c