Commit eda5867b authored by Mathias Krause's avatar Mathias Krause Committed by Greg Kroah-Hartman

cpu: Remove bogus __ref annotation of cpu_subsys_online()

In commit 0db0628d ("kernel: delete __cpuinit usage from all core
kernel files") cpu_up() lost its __cpuinit annotation, vanishing the
need for cpu_subsys_online() to have a __ref annotation. Just drop it
to be able to catch real section mismatches in the future.
Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a885de67
...@@ -41,7 +41,7 @@ static void change_cpu_under_node(struct cpu *cpu, ...@@ -41,7 +41,7 @@ static void change_cpu_under_node(struct cpu *cpu,
cpu->node_id = to_nid; cpu->node_id = to_nid;
} }
static int __ref cpu_subsys_online(struct device *dev) static int cpu_subsys_online(struct device *dev)
{ {
struct cpu *cpu = container_of(dev, struct cpu, dev); struct cpu *cpu = container_of(dev, struct cpu, dev);
int cpuid = dev->id; int cpuid = dev->id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment