]> asedeno.scripts.mit.edu Git - linux.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)
commit8ce621e1d946b1d1d7717337ab8dc3cbc4fd996f
tree0b1351be4cf0ea7ab6de0f0f8905871d3a2702b1
parentac9816dcbab53c57bcf1d7b15370b08f1e284318
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