login
Header Space

 
 

Re: [PATCH] x86_64: cleanup setup_node_zones called by paging_init v2

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <Yinghai.Lu@...>
Cc: Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, LKML <linux-kernel@...>
Date: Wednesday, January 9, 2008 - 3:19 pm

On Wed, 9 Jan 2008, Yinghai Lu wrote:


Here you could do an 

#else

<empty def of setup_node_zones>

which would avoid the additional #ifdef later.

Also move the for_each statement into that function. 

The current version will have an unused variable i if 
CONFIG_FLAG_NODE_MEM_MAP is not set.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86_64: cleanup setup_node_zones called by pagin..., Christoph Lameter, (Wed Jan 9, 3:19 pm)
Re: [PATCH] x86_64: cleanup setup_node_zones called by pagin..., Christoph Lameter, (Mon Jan 14, 3:48 pm)
[PATCH] x86_64: only support sparsemem fix, Yinghai Lu, (Fri Jan 18, 6:48 pm)
speck-geostationary