[POWERPC] iSeries: Fix section mismatch warning in lpevents

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>
This commit is contained in:
Stephen Rothwell 2007-07-25 09:29:19 +10:00 коммит произвёл Paul Mackerras
Родитель c40b91b59d
Коммит 16782a604c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;