MIPS: Loongson: Fix phys_mem_access_prot() check
authorArnaud Patard <apatard@mandriva.com>
Thu, 29 Apr 2010 09:58:49 +0000 (11:58 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Apr 2010 19:52:51 +0000 (20:52 +0100)
commit514b6d0c06a5d751259f145d9593b4d084c1cce3
tree2393ab9df49dfaa005e06ec88cbfe9452fe9bd5e
parentff40ad72addb448c1285181820597a17685ee69a
MIPS: Loongson: Fix phys_mem_access_prot() check

The check used to determine if uncached accelerated should be used or not
is wrong. The parenthesis are misplaced and making the test fail.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1161/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/mem.c