mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +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
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ int recalibrate_cpu_khz(void)
|
||||||
|
|
||||||
EXPORT_SYMBOL(recalibrate_cpu_khz);
|
EXPORT_SYMBOL(recalibrate_cpu_khz);
|
||||||
|
|
||||||
void tsc_init(void)
|
void __init tsc_init(void)
|
||||||
{
|
{
|
||||||
if (!cpu_has_tsc || tsc_disable)
|
if (!cpu_has_tsc || tsc_disable)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue