[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141117001301.GC4667@hori1.linux.bs1.fc.nec.co.jp>
Date: Mon, 17 Nov 2014 00:12:24 +0000
From: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
To: Luiz Capitulino <lcapitulino@...hat.com>
CC: "linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"andi@...stfloor.org" <andi@...stfloor.org>,
"rientjes@...gle.com" <rientjes@...gle.com>,
"riel@...hat.com" <riel@...hat.com>,
"isimatu.yasuaki@...fujitsu.com" <isimatu.yasuaki@...fujitsu.com>,
"yinghai@...nel.org" <yinghai@...nel.org>,
"davidlohr@...com" <davidlohr@...com>
Subject: Re: [PATCH 3/3] hugetlb: hugetlb_register_all_nodes(): add __init
marker
On Wed, Nov 12, 2014 at 05:33:13PM -0500, Luiz Capitulino wrote:
> This function is only called during initialization.
>
> Signed-off-by: Luiz Capitulino <lcapitulino@...hat.com>
Acked-by: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
> ---
> mm/hugetlb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/hugetlb.c b/mm/hugetlb.c
> index a10fd57..9785546 100644
> --- a/mm/hugetlb.c
> +++ b/mm/hugetlb.c
> @@ -2083,7 +2083,7 @@ static void hugetlb_register_node(struct node *node)
> * devices of nodes that have memory. All on-line nodes should have
> * registered their associated device by this time.
> */
> -static void hugetlb_register_all_nodes(void)
> +static void __init hugetlb_register_all_nodes(void)
> {
> int nid;
>
> --
> 1.9.3
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@...ck.org. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@...ck.org"> email@...ck.org </a>--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists