MIPS: Loongson: Fix LOONGSON_ADDRWIN_CFG macro.
commit94c26c9a66a35d4da3ab200864d1afd14c91fb71
authorArnaud Patard <apatard@mandriva.com>
Thu, 29 Apr 2010 09:58:51 +0000 (29 11:58 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Apr 2010 19:52:51 +0000 (30 20:52 +0100)
treeefb052b20d1f54be3816ada723bf581d2e367464
parent514b6d0c06a5d751259f145d9593b4d084c1cce3
MIPS: Loongson: Fix LOONGSON_ADDRWIN_CFG macro.

There's a typo in the LOONGSON_ADDRWIN_CFG macro. The cpu window mmap
register address should contain the destination parameters not the
source one.  This has not been noticed because the code is only using
source = destination.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1162/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-loongson/loongson.h