[patch resend] mm: introduce a common interface for balloon pagesmobility fix

From: David Rientjes
Date: Wed Nov 14 2012 - 16:09:53 EST


Fixes build failure from "mm: introduce a common interface for balloon
pages mobility":

mm/balloon_compaction.c: In function 'balloon_page_putback':
mm/balloon_compaction.c:243: error: implicit declaration of function '__WARN'

Generic code calls WARN_ON(), not __WARN() directly.

Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
---
Still affects linux-next, original patch posted November 9.

mm/balloon_compaction.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/balloon_compaction.c b/mm/balloon_compaction.c
--- a/mm/balloon_compaction.c
+++ b/mm/balloon_compaction.c
@@ -240,7 +240,7 @@ void balloon_page_putback(struct page *page)
put_page(page);
balloon_event_count(COMPACTBALLOONRETURNED);
} else {
- __WARN();
+ WARN_ON(1);
dump_page(page);
}
unlock_page(page);
--
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/