commit | a261670aed2b5b77a20ce9b15fed57abeb126c0e | [log] [tgz] |
---|---|---|
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | Wed Jan 30 13:33:09 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jan 30 13:33:09 2008 +0100 |
tree | b0ad46aff4a4bfd2cc47193dc0b36074440976a1 | |
parent | 94878efdd0815fe3a4159007b1454b25c7696d53 [diff] |
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>