Skip to content

Commit 44ab0a3

Browse files
t-8chglaubitz
authored andcommitted
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 a6c19df ("arm64,ia64,ppc,s390,sh,tile,um,x86,mm: remove default gate area"). Remove the now unnecessary conditional. Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent 222717d commit 44ab0a3

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

arch/sh/include/uapi/asm/auxvec.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,10 @@
1313
*/
1414
#define AT_FPUCW 18 /* Used FPU control word. */
1515

16-
#if defined(CONFIG_VSYSCALL) || !defined(__KERNEL__)
1716
/*
18-
* Only define this in the vsyscall case, the entry point to
19-
* the vsyscall page gets placed here. The kernel will attempt
20-
* to build a gate VMA we don't care about otherwise..
17+
* The entry point to the vsyscall page gets placed here.
2118
*/
2219
#define AT_SYSINFO_EHDR 33
23-
#endif
2420

2521
/*
2622
* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the

0 commit comments

Comments
 (0)