]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: Remove macro that checks kernel address
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 12 Jul 2017 10:08:47 +0000 (12:08 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Aug 2017 12:55:52 +0000 (22:55 +1000)
commit2b08a014215a0f0bc500c04ab341ee04d4dd7736
tree72d0a9248e04d67bdd8e9e6406535fdae8371637
parent67c59cd8bad4a231e8fcfabb068b3a953262a874
powerpc/8xx: Remove macro that checks kernel address

The macro to check if an address is a kernel address or not is
not used anymore in DTLBmiss handler. It is used in ITLB miss handler
and in DTLB error handler. DTLB error handler is not a hot path, it
doesn't need such optimisation.

In order to simplify a following patch which will rework ITLB miss
handler, we remove the macros and reintroduce them inside the handler.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/head_8xx.S