aboutsummaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorGravatar Paul E. McKenney <paul.mckenney@linaro.org> 2011-12-11 21:54:45 -0800
committerGravatar Paul E. McKenney <paulmck@linux.vnet.ibm.com> 2011-12-12 15:55:15 -0800
commita513f6bab0939800dcf1e7c075e733420cf967c5 (patch)
treeee3013ec805b01dc9bf553adcc286f013ab6de92 /kernel/cpu.c
parentrcu: Apply ACCESS_ONCE() to rcu_boost() return value (diff)
downloadlinux-a513f6bab0939800dcf1e7c075e733420cf967c5.tar.gz
linux-a513f6bab0939800dcf1e7c075e733420cf967c5.tar.bz2
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>
Diffstat (limited to 'kernel/cpu.c')
-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;