]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32s: automatically allocate BAT in setbat()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 16 Sep 2019 20:25:39 +0000 (20:25 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 19 Nov 2019 08:38:38 +0000 (19:38 +1100)
commit1f51cf17771484a76d755603598f458a4b69fec7
treee32477e84c50af636be70fd6f1ea2160dc57892b
parent4a4c7196e562771105b654df6cd555e1e935c71c
powerpc/32s: automatically allocate BAT in setbat()

If no BAT is given to setbat(), select an available BAT.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a212bd36fbd6179e0929b6c727febc35132ac25c.1568665466.git.christophe.leroy@c-s.fr
arch/powerpc/mm/book3s32/mmu.c