1. Feb 18, 2008
    • Sam Ravnborg's avatar
      hwmon: (coretemp) fix section mismatch warning · ba7c1927
      Sam Ravnborg authored
      
      
      Fix following warning:
      WARNING: vmlinux.o(.text+0xebfd04): Section mismatch in reference from the function coretemp_cpu_callback() to the function .cpuinit.text:coretemp_device_add()
      
      coretemp_cpu_callback() are only used inside a
      HOTPLUG_CPU block so annotate it __cpuinit.
      The notifier referencing the function are annotated
      __refdata to silence warning from the exit function.
      The unregister function do not use the embedded pointer
      but clears the variable so the annotation is OK.
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarMark M. Hoffman <mhoffman@lightlink.com>
      ba7c1927
  2. Feb 17, 2008
  3. Feb 16, 2008
  4. Feb 15, 2008