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

Commit b9ec60dc authored by Geoff Levand's avatar Geoff Levand Committed by Benjamin Herrenschmidt
Browse files

powerpc/ps3: Add __init to ps3_smp_probe



Add an __init annotation to the ps3_smp_probe() routine.
Fixes build warnings like these when
CONFIG_DEBUG_SECTION_MISMATCH=y:

 WARNING: Section mismatch in reference from the function .ps3_smp_probe()

Signed-off-by: default avatarGeoff Levand <geoff@infradead.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 4bf94ae3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -57,7 +57,7 @@ static void ps3_smp_message_pass(int cpu, int msg)
			" (%d)\n", __func__, __LINE__, cpu, msg, result);
			" (%d)\n", __func__, __LINE__, cpu, msg, result);
}
}


static int ps3_smp_probe(void)
static int __init ps3_smp_probe(void)
{
{
	int cpu;
	int cpu;