cpu: Export cpu_up()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 12 Dec 2011 05:54:45 +0000 (21:54 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 12 Dec 2011 23:55:15 +0000 (15:55 -0800)
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>
kernel/cpu.c

index 563f136..9d448dd 100644 (file)
@@ -380,6 +380,7 @@ out:
        cpu_maps_update_done();
        return err;
 }
+EXPORT_SYMBOL_GPL(cpu_up);
 
 #ifdef CONFIG_PM_SLEEP_SMP
 static cpumask_var_t frozen_cpus;