Commit fd5e1b5dbaa8b4aacc0e251d74182eda37062194

Authored by Li Zefan
Committed by Ingo Molnar
1 parent 84599f8a59

sched: Remove unneeded __ref tag

Those two functions no longer call alloc_bootmmem_cpumask_var(),
so no need to tag them with __init_refok.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <4A35DD5B.9050106@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -7828,7 +7828,7 @@
7828 7828 free_rootdomain(old_rd);
7829 7829 }
7830 7830  
7831   -static int __init_refok init_rootdomain(struct root_domain *rd, bool bootmem)
  7831 +static int init_rootdomain(struct root_domain *rd, bool bootmem)
7832 7832 {
7833 7833 gfp_t gfp = GFP_KERNEL;
7834 7834  
kernel/sched_cpupri.c
... ... @@ -152,7 +152,7 @@
152 152 *
153 153 * Returns: -ENOMEM if memory fails.
154 154 */
155   -int __init_refok cpupri_init(struct cpupri *cp, bool bootmem)
  155 +int cpupri_init(struct cpupri *cp, bool bootmem)
156 156 {
157 157 gfp_t gfp = GFP_KERNEL;
158 158 int i;