[PATCH] migrate_page_add mangled brackets during merge

From: Andy Whitcroft
Date: Wed Jan 18 2006 - 06:52:18 EST


migrate_page_add mangled brackets during merge

It appears that there was some kind of merge mangle in migrate_page_add().
Sort out an extraneous bracket and a couple of spacing issues.

Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxx>
---
mempolicy.c | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
diff -upN reference/mm/mempolicy.c current/mm/mempolicy.c
--- reference/mm/mempolicy.c
+++ current/mm/mempolicy.c
@@ -533,17 +533,15 @@ long do_get_mempolicy(int *policy, nodem
/*
* page migration
*/
-
static void migrate_page_add(struct page *page, struct list_head *pagelist,
unsigned long flags)
{
/*
* Avoid migrating a page that is shared with others.
*/
- if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(page) ==1)
+ if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(page) == 1)
if (isolate_lru_page(page))
list_add(&page->lru, pagelist);
- }
}

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/