]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitafaaec216733d2358f26b1c7ad0e16fbfd754c4f
tree2393ab9df49dfaa005e06ec88cbfe9452fe9bd5e
parent4c71dd09811b53b07a6a46bc1a3eb73707d2da1c
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