[LinuxPPS] 18 Aug 07:10 - x86, calgary: fix section mismatch warning - get_tce_space_from_tar

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


x86, calgary: fix section mismatch warning - get_tce_space_from_tar  
  
WARNING: vmlinux.o(.text+0x27032): Section mismatch in reference from the function get_tce_space_from_tar() to the function .init.text:calgary_bus_has_devices()  
The function get_tce_space_from_tar() references  
the function __init calgary_bus_has_devices().  
This is often because get_tce_space_from_tar lacks a __init  
annotation or the annotation of calgary_bus_has_devices is wrong.  
  
get_tce_space_from_tar is called only from __init function (calgary_init)  
and calls __init function (calgary_bus_has_devices).  
So annotate it properly.  
  
Signed-off-by: Marcin Slusarz   
Cc: Chandru Siddalingappa   
Signed-off-by: Ingo Molnar   
  
arch/x86/kernel/pci-calgary_64.c

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



More information about the LinuxPPS mailing list