Re: [PATCH v2 05/19] elf: Remove compat_arch_setup_additional_pages()

Christophe Leroy
2020-11-24T06:14:10Z

Le 24/11/2020 à 01:29, Dmitry Safonov a écrit :
> Now that all users rely on detecting bitness of new-born task checking
> personality, remove compat_arch_setup_additional_pages() macro,
> simplifying the code.

I understand from cover that you wanted to reword "new-born" ?

>
> Signed-off-by: Dmitry Safonov <dima@arista.com>
> ---
> fs/compat_binfmt_elf.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c
> index 3606dd3a32f5..da8ee4d6e451 100644
> --- a/fs/compat_binfmt_elf.c
> +++ b/fs/compat_binfmt_elf.c
> @@ -115,11 +115,6 @@
> #define START_THREAD COMPAT_START_THREAD
> #endif
>
> -#ifdef compat_arch_setup_additional_pages
> -#undef arch_setup_additional_pages
> -#define arch_setup_additional_pages compat_arch_setup_additional_pages
> -#endif
> -
> #ifdef compat_elf_read_implies_exec
> #undef elf_read_implies_exec
> #define elf_read_implies_exec compat_elf_read_implies_exec
>