Re: [PATCH 2/2] mm: balloon_compaction.c needs asm-generic/bug.h

From: David Rientjes
Date: Wed Nov 14 2012 - 20:29:24 EST


On Wed, 14 Nov 2012, Randy Dunlap wrote:

> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Fix build when CONFIG_BUG is not enabled by adding header file
> <asm-generic/bug.h>:
>
> mm/balloon_compaction.c: In function 'balloon_page_putback':
> mm/balloon_compaction.c:243:3: error: implicit declaration of function '__WARN'
>

This is fixed by
mm-introduce-a-common-interface-for-balloon-pages-mobility-fix-fix-fix.patch
in -mm which converts it to WARN_ON(1) which is the generic way to trigger
a warning.
--
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/