Skip to content

Commit

Permalink
cpu: Export cpu_up()
Browse files Browse the repository at this point in the history
Building rcutorture as a module requires cpu_up() as well as cpu_down()
exported, so apply EXPORT_SYMBOL_GPL().

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
  • Loading branch information
Paul E. McKenney authored and Paul E. McKenney committed Dec 12, 2011
1 parent 4f89b33 commit a513f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ int __cpuinit cpu_up(unsigned int cpu)
cpu_maps_update_done();
return err;
}
EXPORT_SYMBOL_GPL(cpu_up);

#ifdef CONFIG_PM_SLEEP_SMP
static cpumask_var_t frozen_cpus;
Expand Down

0 comments on commit a513f6b

Please sign in to comment.