The auxvec.h header is a more fitting place for these definitions. Signed-off-by: Thomas Weißschuh --- include/linux/auxvec.h | 7 +++++++ include/linux/mm_types.h | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/linux/auxvec.h b/include/linux/auxvec.h index 407f7005e6d6..943e8b80b41e 100644 --- a/include/linux/auxvec.h +++ b/include/linux/auxvec.h @@ -6,4 +6,11 @@ #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 */ diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 3cc8ae722886..64019dc29f4c 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -25,12 +25,6 @@ #include -#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)) - - struct address_space; struct futex_private_hash; struct mem_cgroup; -- 2.53.0