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 <[email protected]>
---
 mm/balloon_compaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/balloon_compaction.c b/mm/balloon_compaction.c
index 32927eb..ddb0951 100644
--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to