Skip to content

Commit 68f513d

Browse files
zongboxgregkh
authored andcommitted
riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
[ Upstream commit b5fca7c ] AT_VECTOR_SIZE_ARCH should be defined with the maximum number of NEW_AUX_ENT entries that ARCH_DLINFO can contain, but it wasn't defined for RISC-V at all even though ARCH_DLINFO will contain one NEW_AUX_ENT for the VDSO address. Signed-off-by: Zong Li <zong.li@sifive.com> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Reviewed-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5a328de commit 68f513d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@
1010
/* vDSO location */
1111
#define AT_SYSINFO_EHDR 33
1212

13+
/* entries in ARCH_DLINFO */
14+
#define AT_VECTOR_SIZE_ARCH 1
15+
1316
#endif /* _UAPI_ASM_RISCV_AUXVEC_H */

0 commit comments

Comments
 (0)