diff options
author | David Rientjes <rientjes@google.com> | 2011-03-04 15:17:21 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-03-04 15:17:21 +0100 |
commit | c09cedf4f75f1e47ea17f55e18e9cfb81bec8575 (patch) | |
tree | deff33cfb836cc7797916062c7d244fb71d3ac30 /arch/x86/mm/numa_emulation.c | |
parent | 51b361b4009f4e19ae68d2bcbb35e254e91b6054 (diff) | |
download | lwn-c09cedf4f75f1e47ea17f55e18e9cfb81bec8575.tar.gz lwn-c09cedf4f75f1e47ea17f55e18e9cfb81bec8575.zip |
x86-64, NUMA: Clean up initmem_init()
This patch cleans initmem_init() so that it is more readable and doesn't
use an unnecessary array of function pointers to convolute the flow of
the code. It also makes it obvious that dummy_numa_init() will always
succeed (and documents that requirement) so that the existing BUG() is
never actually reached.
No functional change.
-tj: Updated comment for dummy_numa_init() slightly.
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/mm/numa_emulation.c')
0 files changed, 0 insertions, 0 deletions