Commit c0d83745cc67ed71a08c14739a0b286d0239b1e2

Authored by Magnus Damm
Committed by Andi Kleen
1 parent aada06c9b7

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/i386/kernel/tsc.c
... ... @@ -192,7 +192,7 @@
192 192  
193 193 EXPORT_SYMBOL(recalibrate_cpu_khz);
194 194  
195   -void tsc_init(void)
  195 +void __init tsc_init(void)
196 196 {
197 197 if (!cpu_has_tsc || tsc_disable)
198 198 return;