[PATCH 15/15] auxvec.h: Drop fallback AT_VECTOR_SIZE_ARCH
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Mon Mar 2 04:25:39 PST 2026
All asm headers now define this constant.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
include/linux/auxvec.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/linux/auxvec.h b/include/linux/auxvec.h
index 68c9d6b118a9..814f984726d6 100644
--- a/include/linux/auxvec.h
+++ b/include/linux/auxvec.h
@@ -9,10 +9,6 @@
#define AT_VECTOR_SIZE_BASE 22 /* NEW_AUX_ENT entries in auxiliary table */
/* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */
-#ifndef AT_VECTOR_SIZE_ARCH
-#define AT_VECTOR_SIZE_ARCH 0
-#endif
-
#define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1))
#endif /* _LINUX_AUXVEC_H */
--
2.53.0
More information about the linux-riscv
mailing list