]> err.no Git - linux-2.6/commit
[MIPS] Alchemy: fix off by two error in __fixup_bigphys_addr()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 10 Dec 2007 17:36:50 +0000 (20:36 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 14 Dec 2007 17:34:29 +0000 (17:34 +0000)
commitb87bb40b62310328e908d580e013e0575b05886c
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