diff options
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | 2008-01-30 13:33:09 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:09 +0100 |
commit | a261670aed2b5b77a20ce9b15fed57abeb126c0e (patch) | |
tree | b0ad46aff4a4bfd2cc47193dc0b36074440976a1 /arch/x86/kernel/aperture_64.c | |
parent | 94878efdd0815fe3a4159007b1454b25c7696d53 (diff) | |
download | lwn-a261670aed2b5b77a20ce9b15fed57abeb126c0e.tar.gz lwn-a261670aed2b5b77a20ce9b15fed57abeb126c0e.zip |
x86: cleanup setup_node_zones called by paging_init()
setup_node_zones() calcuates some variables but only use them when
FLAT_NODE_MEM_MAP is set
so change the MACRO postion to avoid calculating.
also change it to static, and rename it to flat_setup_node_zones().
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/aperture_64.c')
0 files changed, 0 insertions, 0 deletions