projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
194e815
)
kernel/cpuset.c: Mark cpuset_init_current_mems_allowed as __init
author
Rasmus Villemoes
<
[email protected]
>
Thu, 12 Feb 2015 23:00:16 +0000
(15:00 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 13 Feb 2015 02:54:11 +0000
(18:54 -0800)
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 <
[email protected]
>
Cc: Vlastimil Babka <
[email protected]
>
Cc: Rik van Riel <
[email protected]
>
Cc: Joonsoo Kim <
[email protected]
>
Cc: David Rientjes <
[email protected]
>
Cc: Vishnu Pratap Singh <
[email protected]
>
Cc: Pintu Kumar <
[email protected]
>
Cc: Michal Nazarewicz <
[email protected]
>
Cc: Mel Gorman <
[email protected]
>
Cc: Paul Gortmaker <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Tim Chen <
[email protected]
>
Cc: Hugh Dickins <
[email protected]
>
Cc: Li Zefan <
[email protected]
>
Cc: Tejun Heo <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/cpuset.c
patch
|
blob
|
history
diff --git
a/kernel/cpuset.c
b/kernel/cpuset.c
index 64b257f6bca2e23118363660bc6a263ced933e9f..c54a1dae6c11367b601d4d10f91dfcdbbfd6f126 100644
(file)
--- 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);
}