Michael Ellerman a5cab83cd3 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>
2016-03-07 14:53:52 +11:00
..
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-01-27 11:37:37 +11:00
2014-11-27 09:32:58 +11:00
2014-12-11 17:48:14 -08:00
2014-08-13 15:13:42 +10:00
2014-09-25 23:14:46 +10:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2015-08-06 15:10:20 +10:00
2016-01-20 17:09:18 -08:00
2015-03-24 13:15:52 +11:00
2014-12-11 17:48:14 -08:00
2015-12-14 20:40:32 +11:00
2015-12-17 22:40:56 +11:00
2014-09-25 23:14:41 +10:00
2015-12-14 20:40:32 +11:00
2015-12-14 20:40:32 +11:00
2014-08-06 13:04:32 +02:00
2015-12-02 19:34:40 +11:00
2015-12-16 12:54:04 +11:00
2015-04-07 17:15:13 +10:00
2015-06-24 17:49:38 -07:00