mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
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 a6c19dfe39
("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>
36 lines
926 B
C
36 lines
926 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __ASM_SH_AUXVEC_H
|
|
#define __ASM_SH_AUXVEC_H
|
|
|
|
/*
|
|
* Architecture-neutral AT_ values in 0-17, leave some room
|
|
* for more of them.
|
|
*/
|
|
|
|
/*
|
|
* This entry gives some information about the FPU initialization
|
|
* performed by the kernel.
|
|
*/
|
|
#define AT_FPUCW 18 /* Used FPU control word. */
|
|
|
|
/*
|
|
* The entry point to the vsyscall page gets placed here.
|
|
*/
|
|
#define AT_SYSINFO_EHDR 33
|
|
|
|
/*
|
|
* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the
|
|
* value is -1, then the cache doesn't exist. Otherwise:
|
|
*
|
|
* bit 0-3: Cache set-associativity; 0 means fully associative.
|
|
* bit 4-7: Log2 of cacheline size.
|
|
* bit 8-31: Size of the entire cache >> 8.
|
|
*/
|
|
#define AT_L1I_CACHESHAPE 34
|
|
#define AT_L1D_CACHESHAPE 35
|
|
#define AT_L2_CACHESHAPE 36
|
|
|
|
#define AT_VECTOR_SIZE_ARCH 5 /* entries in ARCH_DLINFO */
|
|
|
|
#endif /* __ASM_SH_AUXVEC_H */
|