Re: [PATCH] mm: compaction: Fix compiler warning

2012-11-12 Thread Mel Gorman
On Fri, Nov 09, 2012 at 11:18:17PM +0100, Thierry Reding wrote: > The compact_capture_page() function is only used if compaction is > enabled so it should be moved into the corresponding #ifdef. > > Signed-off-by: Thierry Reding Acked-by: Mel Gorman -- Mel Gorman SUSE Labs -- To unsubscribe f

[PATCH] mm: compaction: Fix compiler warning

2012-11-09 Thread Thierry Reding
The compact_capture_page() function is only used if compaction is enabled so it should be moved into the corresponding #ifdef. Signed-off-by: Thierry Reding --- mm/compaction.c | 108 1 file changed, 54 insertions(+), 54 deletions(-) diff