aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-01-12 04:05:24 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 12:08:49 -0500
commitcbe8dd4af2967ee1c2d54ec9d4db35cf3ecc98d3 (patch)
tree144660e46384377201583c9aeb4723ebfcf4af11
parent1edf80d347387405ff4e8934d194d75f57a3caef (diff)
[PATCH] memmap_init_zone(): remove uneccesary page++
Remove unecessary page++ from memmap_init_zone loop. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index d41a0662d4da..8c960b469593 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1742,7 +1742,7 @@ void __devinit memmap_init_zone(unsigned long size, int nid, unsigned long zone,
1742 unsigned long end_pfn = start_pfn + size; 1742 unsigned long end_pfn = start_pfn + size;
1743 unsigned long pfn; 1743 unsigned long pfn;
1744 1744
1745 for (pfn = start_pfn; pfn < end_pfn; pfn++, page++) { 1745 for (pfn = start_pfn; pfn < end_pfn; pfn++) {
1746 if (!early_pfn_valid(pfn)) 1746 if (!early_pfn_valid(pfn))
1747 continue; 1747 continue;
1748 page = pfn_to_page(pfn); 1748 page = pfn_to_page(pfn);