MIPS: remove aliasing alignment if HW has antialising support
authorLeonid Yegoshin <[email protected]>
Fri, 20 Nov 2015 01:38:21 +0000 (17:38 -0800)
committerRalf Baechle <[email protected]>
Fri, 13 May 2016 12:02:16 +0000 (14:02 +0200)
commitcb80b2a38bd609b2f5a650e9ab87ea50105ad5ea
tree1d62247de2bc0a2ebf5fea040756b6150130ff94
parent201233e6b5d8c7adb84e3a718b0cb33f3665fb7c
MIPS: remove aliasing alignment if HW has antialising support

MIPS hardware may have an antialising support and it works even
page size is small.

Setup a shared memory aliasing mask to page size if hardware has
an antialising support. Big shared memory mask forces a disruption
in page address assignment and that corrupts Android library memory
handling.

Signed-off-by: Leonid Yegoshin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/11516/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/mm/c-r4k.c