summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-02-24 18:35:31 +0300
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2026-04-18 11:23:15 +0300
commit44ab0a3ee21830178a289de8d713225bedc319ef (patch)
tree1a1ef1b5ff6d6f55e9babebf0f4aede204180999
parent222717d642ca98f6e72107621ab37d1aa4f26966 (diff)
downloadlinux-44ab0a3ee21830178a289de8d713225bedc319ef.tar.xz
sh: Remove CONFIG_VSYSCALL reference from UAPI
AT_SYSINFO_EHDR defines the auxvector index representing the vDSO entrypoint. Its value or presence does not depend on whether a vDSO is actually provided by the kernel. The definition of AT_SYSINFO_EHDR was gated between CONFIG_VSYSCALL to avoid a default gate VMA to be created. However that default gate VMA was removed entirely in commit a6c19dfe3994 ("arm64,ia64,ppc,s390,sh,tile,um,x86,mm: remove default gate area"). Remove the now unnecessary conditional. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
-rw-r--r--arch/sh/include/uapi/asm/auxvec.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sh/include/uapi/asm/auxvec.h b/arch/sh/include/uapi/asm/auxvec.h
index 8eb47ede7193..63fcc39e2c6a 100644
--- a/arch/sh/include/uapi/asm/auxvec.h
+++ b/arch/sh/include/uapi/asm/auxvec.h
@@ -13,14 +13,10 @@
*/
#define AT_FPUCW 18 /* Used FPU control word. */
-#if defined(CONFIG_VSYSCALL) || !defined(__KERNEL__)
/*
- * Only define this in the vsyscall case, the entry point to
- * the vsyscall page gets placed here. The kernel will attempt
- * to build a gate VMA we don't care about otherwise..
+ * The entry point to the vsyscall page gets placed here.
*/
#define AT_SYSINFO_EHDR 33
-#endif
/*
* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the