mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 14:32:23 +00:00
cpu: Remove bogus __ref annotation of cpu_subsys_online()
In commit 0db0628d90
("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: Mathias Krause <minipli@googlemail.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a885de6715
commit
eda5867b69
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user