projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf94ae
)
powerpc/ps3: Add __init to ps3_smp_probe
author
Geoff Levand
<geoff@infradead.org>
Tue, 29 Nov 2011 15:38:50 +0000
(15:38 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Thu, 8 Dec 2011 03:05:55 +0000
(14:05 +1100)
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
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/ps3/smp.c
b/arch/powerpc/platforms/ps3/smp.c
index
efc1cd8
..
4b35166
100644
(file)
--- a/
arch/powerpc/platforms/ps3/smp.c
+++ b/
arch/powerpc/platforms/ps3/smp.c
@@
-57,7
+57,7
@@
static void ps3_smp_message_pass(int cpu, int msg)
" (%d)\n", __func__, __LINE__, cpu, msg, result);
}
-static int ps3_smp_probe(void)
+static int
__init
ps3_smp_probe(void)
{
int cpu;