resources: allow adjust_resource() for resources with no parent
authorYinghai Lu <yinghai@kernel.org>
Fri, 18 May 2012 01:51:11 +0000 (18:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 13 Jun 2012 21:42:22 +0000 (15:42 -0600)
commit82ec90eac304e81b1389175b4dded7abecc678ef
tree8f78691a62e6bdb699a2f8fda9f079916d59ace0
parent5cc62c202211096ec26309722ec27455d52c8726
resources: allow adjust_resource() for resources with no parent

If a resource has no parent, allow its start/end to be set arbitrarily
as long as any children are still contained within the new range.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
kernel/resource.c
This page took 0.024987 seconds and 5 git commands to generate.