Christophe Leroy 6d183ca8ba powerpc/wii: properly disable use of BATs when requested.
'nobats' kernel parameter or some options like CONFIG_DEBUG_PAGEALLOC
deny the use of BATS for mapping memory.

This patch makes sure that the specific wii RAM mapping function
takes it into account as well.

Fixes: de32400dd26e ("wii: use both mem1 and mem2 as ram")
Cc: stable@vger.kernel.org
Reviewed-by: Jonathan Neuschafer <j.neuschaefer@gmx.net>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-02-23 21:04:31 +11:00
..
2018-10-26 14:36:21 -07:00
2018-12-29 13:40:29 -08:00
2018-11-26 22:33:37 +11:00
2018-12-29 13:40:29 -08:00
2019-02-21 23:15:10 +11:00
2018-12-29 13:40:29 -08:00
2018-12-29 13:40:29 -08:00