summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2011-12-12 06:54:45 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-12-13 00:55:15 +0100
commita513f6bab0939800dcf1e7c075e733420cf967c5 (patch)
treeee3013ec805b01dc9bf553adcc286f013ab6de92
parentrcu: Apply ACCESS_ONCE() to rcu_boost() return value (diff)
downloadlinux-a513f6bab0939800dcf1e7c075e733420cf967c5.tar.xz
linux-a513f6bab0939800dcf1e7c075e733420cf967c5.zip
cpu: Export cpu_up()
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>
-rw-r--r--kernel/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 563f13609470..9d448ddb2247 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -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;