aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Zhang <neilzhang1123@hotmail.com>2016-04-01 17:31:37 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-01 18:03:37 -0400
commitec3b6882509188602dfaadf2814a9cca062f2786 (patch)
tree8a2806b30641b81dbccecff44c552d0ccabce7a6
parentaf8e15cc85a253155fdcea707588bf6ddfc0be2e (diff)
mm/page_isolation.c: fix the function comments
Commit fea85cff11de ("mm/page_isolation.c: return last tested pfn rather than failure indicator") changed the meaning of the return value. Let's change the function comments as well. Signed-off-by: Neil Zhang <neilzhang1123@hotmail.com> Cc: Joonsoo Kim <js1304@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/page_isolation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_isolation.c b/mm/page_isolation.c
index 31555b689eb9..c4f568206544 100644
--- a/mm/page_isolation.c
+++ b/mm/page_isolation.c
@@ -215,7 +215,7 @@ int undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
215 * all pages in [start_pfn...end_pfn) must be in the same zone. 215 * all pages in [start_pfn...end_pfn) must be in the same zone.
216 * zone->lock must be held before call this. 216 * zone->lock must be held before call this.
217 * 217 *
218 * Returns 1 if all pages in the range are isolated. 218 * Returns the last tested pfn.
219 */ 219 */
220static unsigned long 220static unsigned long
221__test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn, 221__test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn,