Tejun Heo
719361809f
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>
2011-12-08 10:22:07 -08:00
..
2011-11-11 13:29:04 +01:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-05-26 10:01:36 -06:00
2011-10-31 17:30:49 -07:00
2011-10-31 17:30:48 -07:00
2011-10-31 09:20:12 -04:00
2011-08-03 14:25:20 -10:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:11 -04:00
2011-11-06 19:44:47 -08:00
2011-11-02 16:06:57 -07:00
2011-11-15 22:41:52 -02:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-11-02 16:06:57 -07:00
2011-11-28 09:46:22 -08:00
2011-03-22 17:44:02 -07:00
2011-01-27 18:31:51 +00:00
2011-10-31 09:20:12 -04:00
2011-10-31 17:30:45 -07:00
2011-10-31 09:20:12 -04:00
2011-07-20 20:47:46 -04:00
2011-10-31 17:30:44 -07:00
2011-12-08 10:22:07 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-08-03 14:25:24 -10:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:11 -04:00
2011-01-13 17:32:44 -08:00
2011-10-31 17:30:48 -07:00
2010-05-21 18:31:21 -04:00
2011-11-28 09:46:22 -08:00
2011-11-16 12:13:08 -05:00
2011-11-15 22:41:51 -02:00
2011-11-28 09:46:22 -08:00
2011-11-02 16:07:00 -07:00
2011-03-10 08:52:27 +01:00
2010-10-26 16:52:11 -07:00
2011-11-17 20:49:06 +08:00
2011-07-25 20:57:09 -07:00
2010-10-02 10:28:42 +03:00
2011-01-13 17:32:34 -08:00
2011-05-24 11:53:42 -07:00
2011-01-26 10:49:58 +10:00
2011-05-20 12:50:29 -07:00
2011-10-31 17:30:44 -07:00
2011-10-31 09:20:11 -04:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-09-27 22:59:27 +03:00
2011-10-31 09:20:12 -04:00
2011-10-31 17:30:47 -07:00
2011-10-31 09:20:11 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:11 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 17:30:50 -07:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-11-16 12:13:08 -05:00
2011-11-06 19:02:23 -08:00
2011-10-31 17:30:51 -07:00