]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/603: use physical address directly in TLB miss handlers.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 21 Feb 2019 10:37:56 +0000 (10:37 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:16 +0000 (00:10 +1100)
commit233c102fa8a2fafe96ac7c235773b78dcf139603
tree165fddb0dcd2028de8c6b6ce557195adc591fb60
parent806f17e493e9f36786b74d808c73522da1a75998
powerpc/603: use physical address directly in TLB miss handlers.

Since commit 8b249c75c0a5 ("powerpc: remove remaining bits from
CONFIG_APUS"), tophys() has become a pure constant operation.
PAGE_OFFSET is known at compile time so the physical address
can be builtin directly.

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