]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Create a helper for getting the kernel toc value
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Mar 2016 04:26:53 +0000 (15:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2016 03:53:52 +0000 (14:53 +1100)
commitf935aa92bf0855d26971e6a6b361648b84fea69b
tree1281c0987bde07bf74e452025e99a9f75ff38b95
parent422610dfd6cd429199bef194ed3367db0f624612
powerpc: Create a helper for getting the kernel toc value

Move the logic to work out the kernel toc pointer into a header. This is
a good cleanup, and also means we can use it elsewhere in future.

Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Reviewed-by: Torsten Duwe <duwe@suse.de>
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
arch/powerpc/include/asm/sections.h
arch/powerpc/kernel/paca.c