]> git.baikalelectronics.ru Git - kernel.git/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)
commitb75ee1f81dc0d3c90c9143a8e85cd0ea4cea6cbc
treeaa095d0a19180ff62a8cfa879e20c8cf5fe6f937
parent91a52a81ee62e5c6d5923e9eb379ed0b48e45ff9
[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