1. 14 12月, 2009 1 次提交
    • R
      ARM: fix sa1100 build · 1937f5b9
      Russell King 提交于
      Fix:
      
      arch/arm/mach-sa1100/generic.c:117: error: redefinition of 'cpufreq_get'
      include/linux/cpufreq.h:299: error: previous definition of 'cpufreq_get' was here
      
      cpufreq_get() is used on these platforms to tell drivers what the CPU
      frequency is, and therefore the bus frequency - which is critical for
      setting the PCMCIA and LCD timings.  Adding ifdefs to these drivers to
      select cpufreq_get() or some other interface adds confusion.  Making
      these drivers use some other interface for the normal paths and cpufreq
      stuff for the cpufreq notifier is insane as well.
      
      (Why x86 can't provide a version of cpufreq_get() which returns the
      CPU frequency when CPUFREQ is disabled is beyond me, rather than
      requiring a dummy zero-returning cpufreq_get().  Especially as they
      do:
      
      			unsigned long khz = cpufreq_get(cpu);
      			if (!khz)
      				khz = tsc_khz;
      
      In other words, if CPUFREQ is disabled, get it from tsc_khz - why
      not provide a dummy cpufreq_get() which returns tsc_khz?)
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1937f5b9
  2. 07 12月, 2009 26 次提交
  3. 04 12月, 2009 1 次提交
  4. 28 11月, 2009 6 次提交
  5. 07 10月, 2009 1 次提交
  6. 29 9月, 2009 2 次提交
  7. 20 9月, 2009 1 次提交
  8. 16 9月, 2009 1 次提交
  9. 13 6月, 2009 1 次提交
新手
引导
客服 返回
顶部