hugetlb: fix section mismatches
commit094e9539bd24bbe23b8e2741e903b0f3f1f85b03
authorJeff Mahoney <jeffm@suse.com>
Tue, 2 Feb 2010 21:44:14 +0000 (2 13:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Feb 2010 02:11:22 +0000 (2 18:11 -0800)
tree1b217c0351db28589fc164d5bf570d61c173bf5c
parent03eac7bb882a75e6ee5705288f7ec36ad2e7d0d5
hugetlb: fix section mismatches

hugetlb_sysfs_add_hstate is called by hugetlb_register_node directly
during init and also indirectly via sysfs after init.

This patch removes the __init tag from hugetlb_sysfs_add_hstate.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c