]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/ps3: Add __init to ps3_smp_probe
authorGeoff Levand <geoff@infradead.org>
Tue, 29 Nov 2011 15:38:50 +0000 (15:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Dec 2011 03:05:55 +0000 (14:05 +1100)
commitb9ec60dc35bba431f0913f628bfd590cb4666ff7
tree6fd65e087be50100a68b7edcd3e8c5d0af953c7c
parent4bf94ae39c5bfab234ab1bd8b2b44d1f0d2dd5ab
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>
arch/powerpc/platforms/ps3/smp.c