aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-12-08 10:22:07 -0800
committerTejun Heo <tj@kernel.org>2011-12-08 10:22:07 -0800
commit719361809fde9dbe9ccc4cf71f9fa9add5fa8bf9 (patch)
treee99a719d9605f12a7b00220e704736e54b4ee122 /drivers/i2c/algos/i2c-algo-bit.c
parentmemblock: Separate out memblock_isolate_range() from memblock_set_node() (diff)
downloadwireguard-linux-719361809fde9dbe9ccc4cf71f9fa9add5fa8bf9.tar.xz
wireguard-linux-719361809fde9dbe9ccc4cf71f9fa9add5fa8bf9.zip
memblock: Reimplement __memblock_remove() using memblock_isolate_range()
__memblock_remove()'s open coded region manipulation can be trivially replaced with memblock_islate_range(). This increases code sharing and eases improving region tracking. This pulls memblock_isolate_range() out of HAVE_MEMBLOCK_NODE_MAP. Make it use memblock_get_region_node() instead of assuming rgn->nid is available. -v2: Fixed build failure on !HAVE_MEMBLOCK_NODE_MAP caused by direct rgn->nid access. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions