commit | a5cab83cd3d2d75d3893276cb5f27e163484ef04 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Thu Mar 03 15:26:53 2016 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Mar 07 14:53:52 2016 +1100 |
tree | 1281c0987bde07bf74e452025e99a9f75ff38b95 | |
parent | 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 [diff] |
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>