[PATCH v2 07/13] asm-generic: Define 'func_desc_t' to commonly describe function descriptors

Arnd Bergmann arnd at arndb.de
Thu Oct 14 17:52:37 AEDT 2021


On Thu, Oct 14, 2021 at 7:49 AM Christophe Leroy
<christophe.leroy at csgroup.eu> wrote:
>
> We have three architectures using function descriptors, each with its
> own name.
>
> Add a common typedef that can be used in generic code.
>
> Also add a stub typedef for architecture without function descriptors,
> to avoid a forest of #ifdefs.
>
> It replaces the similar func_desc_t previously defined in
> arch/powerpc/kernel/module_64.c
>
> Reviewed-by: Kees Cook <keescook at chromium.org>
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>

Acked-by: Arnd Bergmann <arnd at arndb.de>


More information about the Linuxppc-dev mailing list