Skip to content

Commit

Permalink
[POWERPC] iSeries: Fix section mismatch warning in lpevents
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Jul 26, 2007
1 parent c40b91b commit 16782a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/iseries/lpevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 16782a6

Please sign in to comment.