[PATCH] fix WANT_PAGE_VIRTUAL in memmap_init
authorBob Picco <bob.picco@hp.com>
Mon, 27 Jun 2005 21:36:28 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 22:11:42 +0000 (15:11 -0700)
commit3212c6be251219c0f4c2df0c93e122ff5be0d9dc
tree8105201ba37d55beeb4a042d4691661ba400d098
parent9c4142a133f7efee08238722b157656c3da7ca97
[PATCH] fix WANT_PAGE_VIRTUAL in memmap_init

I spotted this issue while in memmap_init last week.  I can't say the
change has any test coverage by me.  start_pfn was formerly used in main
"for" loop.  The fix is replace start_pfn with pfn.

Signed-off-by: Bob Picco <bob.picco@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c