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:
c40b91b
)
[POWERPC] iSeries: Fix section mismatch warning in lpevents
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Tue, 24 Jul 2007 23:29:19 +0000
(09:29 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 26 Jul 2007 06:12:18 +0000
(16:12 +1000)
WARNING: vmlinux.o(.text+0x4f568): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.setup_hvlpevent_queue' and '.process_hvlpevents')
setup_hvlpevent_queue is only called from __init code so make it __init
as well.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/iseries/lpevents.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/iseries/lpevents.c
b/arch/powerpc/platforms/iseries/lpevents.c
index
91df52a
..
34bdbbe
100644
(file)
--- a/
arch/powerpc/platforms/iseries/lpevents.c
+++ b/
arch/powerpc/platforms/iseries/lpevents.c
@@
-182,7
+182,7
@@
static int set_spread_lpevents(char *str)
}
__setup("spread_lpevents=", set_spread_lpevents);
-void setup_hvlpevent_queue(void)
+void
__init
setup_hvlpevent_queue(void)
{
void *eventStack;