]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] remove invalid comment in mm/page_alloc.c
authorRenaud Lienhart <renaud.lienhart@free.fr>
Sat, 10 Sep 2005 07:26:59 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:31 +0000 (10:06 -0700)
free_pages_bulk() doesn't free the entire list if count == 0.

Signed-off-by: Renaud Lienhart <renaud.lienhart@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c

index 3974fd81d27c0de38a12a299e6f6b6dd2645cbf7..c5823c395f7145f2a66ef3ffd11af836c294845f 100644 (file)
@@ -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.