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 --- arch/sh/include/asm/auxvec.h | 7 +++++++ arch/sh/include/uapi/asm/auxvec.h | 8 +++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/sh/include/asm/auxvec.h b/arch/sh/include/asm/auxvec.h new file mode 100644 index 000000000000..f0830808eb19 --- /dev/null +++ b/arch/sh/include/asm/auxvec.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_AUXVEC_H +#define __ASM_SH_AUXVEC_H + +#define AT_VECTOR_SIZE_ARCH 5 /* entries in ARCH_DLINFO */ + +#endif /* __ASM_SH_AUXVEC_H */ diff --git a/arch/sh/include/uapi/asm/auxvec.h b/arch/sh/include/uapi/asm/auxvec.h index 8eb47ede7193..1b07c4bfe160 100644 --- a/arch/sh/include/uapi/asm/auxvec.h +++ b/arch/sh/include/uapi/asm/auxvec.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_SH_AUXVEC_H -#define __ASM_SH_AUXVEC_H +#ifndef __UAPI_ASM_SH_AUXVEC_H +#define __UAPI_ASM_SH_AUXVEC_H /* * Architecture-neutral AT_ values in 0-17, leave some room @@ -34,6 +34,4 @@ #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 */ +#endif /* __UAPI_ASM_SH_AUXVEC_H */ -- 2.53.0