]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/modules: remove unused mod_arch_specific.toc field
authorJosh Poimboeuf <jpoimboe@redhat.com>
Fri, 25 May 2018 03:48:34 +0000 (22:48 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 May 2018 08:46:34 +0000 (18:46 +1000)
commit4c4f5d8be1329375cf5d17d6166a7813d10d0cff
tree0b1351be4cf0ea7ab6de0f0f8905871d3a2702b1
parentcd2e6000e8a6a840072d66857a32937dd0237a81
powerpc/modules: remove unused mod_arch_specific.toc field

The toc field in the mod_arch_specific struct isn't actually used
anywhere, so remove it.

Also the ftrace-specific fields are now common between 32-bit and
64-bit, so simplify the struct definition a bit by moving them out of
the __powerpc64__ #ifdef.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/module.h
arch/powerpc/kernel/module_64.c