[MIPS] Alchemy: fix off by two error in __fixup_bigphys_addr()
commitb87bb40b62310328e908d580e013e0575b05886c
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 10 Dec 2007 17:36:50 +0000 (10 20:36 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 14 Dec 2007 17:34:29 +0000 (14 17:34 +0000)
treeaa095d0a19180ff62a8cfa879e20c8cf5fe6f937
parentdd99d9661c72fe251b842705f2e7cfaa4918a13c
[MIPS] Alchemy: fix off by two error in __fixup_bigphys_addr()

the PCI specific code in this function doesn't check for the address range
being under the upper bound of the PCI memory window correctly -- fix this,
somewhat beautifying the code around the check, while at it...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/setup.c