Re: [PATCH v2 07/13] asm-generic: Define 'func_desc_t' to commonly describe function descriptors
From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-10-14 06:52:58
Also in:
linux-arch, linux-mm, lkml
From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-10-14 06:52:58
Also in:
linux-arch, linux-mm, lkml
On Thu, Oct 14, 2021 at 7:49 AM Christophe Leroy [off-list ref] 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 <redacted> Signed-off-by: Christophe Leroy <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>