aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRenaud Lienhart <renaud.lienhart@free.fr>2005-09-10 00:26:59 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 10:06:31 -0700
commit207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4 (patch)
tree09fa4a6885ee6a1032a46b2409a13669a8d01459 /mm
parent9dcbb32f1654e79c212c20d9cd9d48509ee1eaf7 (diff)
downloadkernel_samsung_smdk4412-207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4.zip
kernel_samsung_smdk4412-207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4.tar.gz
kernel_samsung_smdk4412-207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4.tar.bz2
[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 <renaud.lienhart@free.fr> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-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 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.