summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-12-22 15:02:22 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-02-22 16:17:00 -0800
commit5eeec0ec931a01e85b3701ce121b7d8a1800ec60 (patch)
tree2efe474832b68a97c0460fc7f5e58a488f977dbb /include/linux
parent7cc5997d1dada3bdeed95a59c2f4f6c66cbb0767 (diff)
downloadop-kernel-dev-5eeec0ec931a01e85b3701ce121b7d8a1800ec60.zip
op-kernel-dev-5eeec0ec931a01e85b3701ce121b7d8a1800ec60.tar.gz
resource: add release_child_resources
Useful for freeing a portion of the resource tree, e.g. when trying to reallocate resources more efficiently. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ioport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h
index 4a81189..dda9841 100644
--- a/include/linux/ioport.h
+++ b/include/linux/ioport.h
@@ -112,6 +112,7 @@ extern struct resource iomem_resource;
extern int request_resource(struct resource *root, struct resource *new);
extern int release_resource(struct resource *new);
+void release_child_resources(struct resource *new);
extern void reserve_region_with_split(struct resource *root,
resource_size_t start, resource_size_t end,
const char *name);
OpenPOWER on IntegriCloud