From: Rasmus Villemoes Date: Thu, 12 Feb 2015 23:00:16 +0000 (-0800) Subject: kernel/cpuset.c: Mark cpuset_init_current_mems_allowed as __init X-Git-Tag: v4.14-rc1~5954^2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f4ab07f4bf1b1069c01b7c6758a7d444406996b;p=platform%2Fkernel%2Flinux-rpi.git kernel/cpuset.c: Mark cpuset_init_current_mems_allowed as __init The only caller of cpuset_init_current_mems_allowed is the __init annotated build_all_zonelists_init, so we can also make the former __init. Signed-off-by: Rasmus Villemoes Cc: Vlastimil Babka Cc: Rik van Riel Cc: Joonsoo Kim Cc: David Rientjes Cc: Vishnu Pratap Singh Cc: Pintu Kumar Cc: Michal Nazarewicz Cc: Mel Gorman Cc: Paul Gortmaker Cc: Peter Zijlstra Cc: Tim Chen Cc: Hugh Dickins Cc: Li Zefan Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 64b257f..c54a1da 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -2400,7 +2400,7 @@ void cpuset_cpus_allowed_fallback(struct task_struct *tsk) */ } -void cpuset_init_current_mems_allowed(void) +void __init cpuset_init_current_mems_allowed(void) { nodes_setall(current->mems_allowed); }