powerpc: Use 'struct func_desc' instead of 'struct ppc64_opd_entry'
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 15 Feb 2022 12:40:58 +0000 (13:40 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Feb 2022 12:25:10 +0000 (23:25 +1100)
commitd3e32b997a4ca2e7be71cb770bcb2c000ee20b36
tree0114380a9b59edf8300d307ebdb00fa30a9d154e
parent5b23cb8cc6b0aab0535253cc2aa362572bab7072
powerpc: Use 'struct func_desc' instead of 'struct ppc64_opd_entry'

'struct ppc64_opd_entry' is somehow redundant with 'struct func_desc',
the later is more correct/complete as it includes the third
field which is unused.

So use 'struct func_desc' instead of 'struct ppc64_opd_entry'

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/34e76bac6cbe95a63ecd37df69fb7feb93b0ea7c.1644928018.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/sections.h
arch/powerpc/kernel/module_64.c