]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/mm: Convert slb_finish_load[_1T] to local symbols
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 13 Feb 2017 04:26:40 +0000 (15:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Feb 2017 23:58:51 +0000 (10:58 +1100)
commite471c393dfafff54c65979cbda7d5a0eb38590f4
treebf950d78f644caaf25ebcf2f43fdd8d837502370
parenta42715830d552d7c0e3be709383ece4832453275
powerpc/mm: Convert slb_finish_load[_1T] to local symbols

slb_finish_load and slb_finish_load_1T are both only used within
slb_low.S, so make them local symbols.

This makes the code a little clearer, as it's more obvious neither is
intended to be an entry point from arbitrary other code, only the uses
in this file.

It also prevents them being used with kprobes and other tracing tools,
which is good because we're not able to safely take traps at these
locations, so making them local symbols avoids us needing to blacklist
them.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/slb_low.S