PCI: don't shrink bridge resources
commitd65245c3297ac63abc51a976d92f45f2195d2854
authorYinghai Lu <yinghai@kernel.org>
Fri, 22 Jan 2010 09:02:23 +0000 (22 01:02 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:17:21 +0000 (22 16:17 -0800)
tree97dbc9a714ef03810609f2d5faca1f56fd872547
parentcd81e1ea1a4cda94aa5f3e942301cf0da497c262
PCI: don't shrink bridge resources

When clearing leaf bridge resources, trying to get a big enough one, we
could shrink the bridge if there is no resource under it.  Confirm
against the old resource side to make sure we're increasing the
allocation.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c