From f412c97abef71026d8192ca8efca231f1e3906b3 Mon Sep 17 00:00:00 2001 From: David Rientjes Date: Thu, 3 Apr 2014 14:47:59 -0700 Subject: [PATCH] mm, hugetlb: mark some bootstrap functions as __init Both prep_compound_huge_page() and prep_compound_gigantic_page() are only called at bootstrap and can be marked as __init. The __SetPageTail(page) in prep_compound_gigantic_page() happening before page->first_page is initialized is not concerning since this is bootstrap. Signed-off-by: David Rientjes Reviewed-by: Michal Hocko Cc: Joonsoo Kim Reviewed-by: Davidlohr Bueso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed