]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
set_page_huge_active() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 7 Apr 2015 23:44:34 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:34 +0000 (09:44 +1000)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c

index b527a7a6a8dc432e841505c1a37a4450b3c60418..e837e0b8646acfd2d1bb437ced03f415ffae340d 100644 (file)
@@ -937,13 +937,13 @@ bool page_huge_active(struct page *page)
 }
 
 /* never called for tail page */
-void set_page_huge_active(struct page *page)
+static void set_page_huge_active(struct page *page)
 {
        VM_BUG_ON_PAGE(!PageHeadHuge(page), page);
        SetPagePrivate(&page[1]);
 }
 
-void clear_page_huge_active(struct page *page)
+static void clear_page_huge_active(struct page *page)
 {
        VM_BUG_ON_PAGE(!PageHeadHuge(page), page);
        ClearPagePrivate(&page[1]);