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

From: Randy Dunlap
Date: Wed Nov 14 2012 - 20:30:31 EST


On 11/14/2012 05:29 PM, David Rientjes wrote:

> 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.
> --


OK, thanks for the info.

--
~Randy
--
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/