commit | 4e8309baedfef8360f5b06ccaff8c45cff73cc4f | [log] [tgz] |
---|---|---|
author | Cody P Schafer <cody@linux.vnet.ibm.com> | Wed Jan 09 12:40:18 2013 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jan 29 11:34:25 2013 +1100 |
tree | a09eb20075f5b5e9a31ae53c876f3770571829d6 | |
parent | dfd0436ad0ce139467b124c646fa65ee2635e14a [diff] |
powerpc/mm: Eliminate unneeded for_each_memblock The only persistent change made by this loop is calling memblock_set_node() once for each memblock, which is not useful (and has no effect) as memblock_set_node() is not called with any memblock-specific parameters. Subsistute a single memblock_set_node(). Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>