提交 c0d83745 编写于 作者: M Magnus Damm 提交者: Andi Kleen

[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: NMagnus Damm <magnus@valinux.co.jp>
Signed-off-by: NAndi Kleen <ak@suse.de>
上级 aada06c9
...@@ -192,7 +192,7 @@ int recalibrate_cpu_khz(void) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册