Searched hist:"0 dc690e4ef5b901e9d4b53520854fbd5c749e09d" (Results 1 – 4 of 4) sorted by relevance
/linux/arch/parisc/include/asm/ |
H A D | sections.h | diff 0dc690e4ef5b901e9d4b53520854fbd5c749e09d Tue Feb 15 13:41:03 CET 2022 Christophe Leroy <christophe.leroy@csgroup.eu> asm-generic: Define 'func_desc_t' to commonly describe function descriptors
We have three architectures using function descriptors, each with its own type and 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
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/f1f91b142b3c1082bdc1586ce71c9bac1e75213c.1644928018.git.christophe.leroy@csgroup.eu
|
/linux/include/asm-generic/ |
H A D | sections.h | diff 0dc690e4ef5b901e9d4b53520854fbd5c749e09d Tue Feb 15 13:41:03 CET 2022 Christophe Leroy <christophe.leroy@csgroup.eu> asm-generic: Define 'func_desc_t' to commonly describe function descriptors
We have three architectures using function descriptors, each with its own type and 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
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/f1f91b142b3c1082bdc1586ce71c9bac1e75213c.1644928018.git.christophe.leroy@csgroup.eu
|
/linux/arch/powerpc/include/asm/ |
H A D | sections.h | diff 0dc690e4ef5b901e9d4b53520854fbd5c749e09d Tue Feb 15 13:41:03 CET 2022 Christophe Leroy <christophe.leroy@csgroup.eu> asm-generic: Define 'func_desc_t' to commonly describe function descriptors
We have three architectures using function descriptors, each with its own type and 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
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/f1f91b142b3c1082bdc1586ce71c9bac1e75213c.1644928018.git.christophe.leroy@csgroup.eu
|
/linux/arch/powerpc/kernel/ |
H A D | module_64.c | diff 0dc690e4ef5b901e9d4b53520854fbd5c749e09d Tue Feb 15 13:41:03 CET 2022 Christophe Leroy <christophe.leroy@csgroup.eu> asm-generic: Define 'func_desc_t' to commonly describe function descriptors
We have three architectures using function descriptors, each with its own type and 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
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/f1f91b142b3c1082bdc1586ce71c9bac1e75213c.1644928018.git.christophe.leroy@csgroup.eu
|