From: Renaud Lienhart Date: Sat, 10 Sep 2005 07:26:59 +0000 (-0700) Subject: [PATCH] remove invalid comment in mm/page_alloc.c X-Git-Tag: upstream/snapshot3+hdmi~46021 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [PATCH] remove invalid comment in mm/page_alloc.c free_pages_bulk() doesn't free the entire list if count == 0. Signed-off-by: Renaud Lienhart Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3974fd8..c5823c3 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -335,7 +335,7 @@ static inline void free_pages_check(const char *function, struct page *page) /* * Frees a list of pages. * Assumes all pages on list are in same zone, and of same order. - * count is the number of pages to free, or 0 for all on the list. + * count is the number of pages to free. * * If the zone was previously in an "all pages pinned" state then look to * see if this freeing clears that state.