There is nothing userspace can do with this value. In the kernel is always combined with AT_VECTOR_SIZE_BASE, which is not exposed to userspace and also changes from time to time.
Move the symbol to a kernel-internal header. Signed-off-by: Thomas Weißschuh <[email protected]> --- arch/mips/include/asm/auxvec.h | 17 +++++++++++++++++ arch/mips/include/uapi/asm/auxvec.h | 8 +++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/arch/mips/include/asm/auxvec.h b/arch/mips/include/asm/auxvec.h new file mode 100644 index 000000000000..76c445e7890f --- /dev/null +++ b/arch/mips/include/asm/auxvec.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2015 Imagination Technologies + * Author: Alex Smith <[email protected]> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#ifndef __ASM_AUXVEC_H +#define __ASM_AUXVEC_H + +#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ + +#endif /* __ASM_AUXVEC_H */ diff --git a/arch/mips/include/uapi/asm/auxvec.h b/arch/mips/include/uapi/asm/auxvec.h index 612c2c41f60b..1331ac4d935e 100644 --- a/arch/mips/include/uapi/asm/auxvec.h +++ b/arch/mips/include/uapi/asm/auxvec.h @@ -9,12 +9,10 @@ * option) any later version. */ -#ifndef __ASM_AUXVEC_H -#define __ASM_AUXVEC_H +#ifndef __UAPI_ASM_AUXVEC_H +#define __UAPI_ASM_AUXVEC_H /* Location of VDSO image. */ #define AT_SYSINFO_EHDR 33 -#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ - -#endif /* __ASM_AUXVEC_H */ +#endif /* __UAPI_ASM_AUXVEC_H */ -- 2.53.0
