Skip to content

Commit b9ec60d

Browse files
glevandozbenh
authored andcommitted
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: Geoff Levand <geoff@infradead.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent 4bf94ae commit b9ec60d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/powerpc/platforms/ps3

‎arch/powerpc/platforms/ps3/smp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static void ps3_smp_message_pass(int cpu, int msg)
5757
" (%d)\n", __func__, __LINE__, cpu, msg, result);
5858
}
5959

60-
static int ps3_smp_probe(void)
60+
static int __init ps3_smp_probe(void)
6161
{
6262
int cpu;
6363

0 commit comments

Comments
 (0)