Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ static void change_cpu_under_node(struct cpu *cpu,
	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);
	int cpuid = dev->id;