mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 14:30:00 +00:00
[PATCH] i386: mark two more functions as __init
cyrix_identify() should be __init because transmeta_identify() is. tsc_init() is only called from setup_arch() which is marked as __init. These two section mismatches have been detected using running modpost on a vmlinux image compiled with CONFIG_RELOCATABLE=y. Signed-off-by: Magnus Damm <magnus@valinux.co.jp> Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
aada06c9b7
commit
c0d83745cc
@ -192,7 +192,7 @@ int recalibrate_cpu_khz(void)
|
||||
|
||||
EXPORT_SYMBOL(recalibrate_cpu_khz);
|
||||
|
||||
void tsc_init(void)
|
||||
void __init tsc_init(void)
|
||||
{
|
||||
if (!cpu_has_tsc || tsc_disable)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user