[PATCH 0/3] Fix section mismatch in cpufreq drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I was using make CONFIG_DEBUG_SECTION_MISMATCH=y out of
curiosity and for another reason I had the longrun driver
compiled in and ended up with mismatch warnings due the
cpufreq_driver accessing the *_cpu_init which is inside
the initdata section.

Looking at powernow-k8.c, and trying to compile the other
drivers with that option it appears to be fine to use
the __cpuinit(data) instead of __init. Is that correct?


Holger Hans Peter Freyther (3):
  Fix section mismatch for lonrun_cpu_init.
  Fix section mismatch for longhaul_cpu_init.
  Fix section mismatch for powernow_cpu_init in powernow-k7.c

 arch/x86/kernel/cpu/cpufreq/longhaul.c    |    6 +++---
 arch/x86/kernel/cpu/cpufreq/longhaul.h    |   26 +++++++++++++-------------
 arch/x86/kernel/cpu/cpufreq/longrun.c     |    6 +++---
 arch/x86/kernel/cpu/cpufreq/powernow-k7.c |    8 ++++----
 4 files changed, 23 insertions(+), 23 deletions(-)


PS: I'm resending this as I was not able to see it in
the archive, but have now subscribed to the list.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux