powerpc: register_cpu_online should be __cpuinit

It is called only in cpu online paths.

(caught by CONFIG_DEBUG_SECTION_MISMATCH=y)

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Nathan Lynch 2008-07-27 15:24:51 +10:00 committed by Benjamin Herrenschmidt
parent 7d2f6075f9
commit 9ba1984ead
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ static struct sysdev_attribute pa6t_attrs[] = {
};
static void register_cpu_online(unsigned int cpu)
static void __cpuinit register_cpu_online(unsigned int cpu)
{
struct cpu *c = &per_cpu(cpu_devices, cpu);
struct sys_device *s = &c->sysdev;