The patch titled Subject: page-flags: rectify forward declaration has been added to the -mm tree. Its filename is page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx> Subject: page-flags: rectify forward declaration compound_head is defined as inline in page-flags.h but in the forward declaration of compound_head in the same file missed "inline". As a result we got plenty of build warnings while building for some architecture like avr32. The warning showed as: warning: 'compound_head' declared inline after being called. warning: previous declaration of 'compound_head' was here Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx> Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/page-flags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/page-flags.h~page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2 include/linux/page-flags.h --- a/include/linux/page-flags.h~page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2 +++ a/include/linux/page-flags.h @@ -227,7 +227,7 @@ static inline int __TestClearPage##uname struct page; static inline int PageCompound(struct page *page); static inline int PageTail(struct page *page); -static struct page *compound_head(struct page *page); +static inline struct page *compound_head(struct page *page); TESTPAGEFLAG(Locked, locked, ANY) PAGEFLAG(Error, error, ANY) TESTCLEARFLAG(Error, error, ANY) _ Patches currently in -mm which might be from sudipm.mukherjee@xxxxxxxxx are page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html