• Dave Jones's avatar
    [CPUFREQ] reorder cpufreq.c for inlining · ee724e62
    Dave Jones authored
    Trying to compile drivers/cpufreq/cpufreq.c with gcc 3.4 and
      # define inline         __inline__ __attribute__((always_inline))
    results in the following compile error:
      CC      drivers/cpufreq/cpufreq.o
    drivers/cpufreq/cpufreq.c: In function `cpufreq_resume':
    drivers/cpufreq/cpufreq.c:39: sorry, unimplemented: inlining failed in
    call to 'adjust_jiffies': function body not available
    drivers/cpufreq/cpufreq.c:628: sorry, unimplemented: called from here
    make[2]: *** [drivers/cpufreq/cpufreq.o] Error 1
    Signed-off-by: default avatarAdrian Bunk <bunk@fs.tum.de>
    Signed-off-by: default avatarDave Jones <davej@redhat.com>
    ee724e62
cpufreq.c 29.8 KB