[folded-merged] page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: page-flags: rectify forward declaration
has been removed from the -mm tree.  Its filename was
     page-flags-introduce-page-flags-policies-wrt-compound-pages-fix-2.patch

This patch was dropped because it was folded into page-flags-introduce-page-flags-policies-wrt-compound-pages.patch

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



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux