On Thu, Oct 14, 2021 at 7:49 AM Christophe Leroy <christophe.leroy@xxxxxxxxxx> 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@xxxxxxxxxxxx> > Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>