OSDN Git Service

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)
commitcbcaff7d27ad5c5d2c2db113ec489be88adb815a
treee32477e84c50af636be70fd6f1ea2160dc57892b
parentd538aadc2718a95bfd80095c66ea814824535b34
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