[LinuxPPS] 18 Aug 05:48 - x86, tsc: fix section mismatch warning

linuxpps: Marcin Slusarz <> webmaster at enneenne.com
Wed Aug 20 00:00:06 CEST 2008


x86, tsc: fix section mismatch warning  
  
WARNING: vmlinux.o(.text+0x7950): Section mismatch in reference from the function native_calibrate_tsc() to the function .init.text:tsc_read_refs()  
The function native_calibrate_tsc() references  
the function __init tsc_read_refs().  
This is often because native_calibrate_tsc lacks a __init  
annotation or the annotation of tsc_read_refs is wrong.  
  
tsc_read_refs is called from native_calibrate_tsc which is not __init  
and native_calibrate_tsc cannot be marked __init  
  
Signed-off-by: Marcin Slusarz   
Signed-off-by: H. Peter Anvin   
Signed-off-by: Ingo Molnar   
  
arch/x86/kernel/tsc.c

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=d554d9a4295dd0595d12eeccbc55d1f495b15176



More information about the LinuxPPS mailing list