dect
/
linux-2.6
Archived
13
0
Fork 0

x86: mark memory_setup __init

Otherwise

WARNING: vmlinux.o(.text+0x64a9): Section mismatch: reference to .init.text:machine_specific_memory_setup (between 'memory_setup' and 'show_cpuinfo')

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Andi Kleen 2008-01-30 13:32:49 +01:00 committed by Ingo Molnar
parent a9a832902f
commit e3cfac84cf
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ static void discover_ebda(void)
}
/* Overridden in paravirt.c if CONFIG_PARAVIRT */
void __attribute__((weak)) memory_setup(void)
void __attribute__((weak)) __init memory_setup(void)
{
machine_specific_memory_setup();
}