linux-next: build failure after merge of the pm tree

Stephen Rothwell
2012-09-25T04:30:47Z

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/cpufreq/powernow-k8.c: In function 'transition_frequency_pstate':
drivers/cpufreq/powernow-k8.c:991:19: error: 'HW_PSTATE_MASK' undeclared (first use in this function)
drivers/cpufreq/powernow-k8.c:991:19: note: each undeclared identifier is reported only once for each function it appears in
drivers/cpufreq/powernow-k8.c:992:19: error: 'struct powernow_k8_data' has no member named 'max_hw_pstate'
drivers/cpufreq/powernow-k8.c:995:2: error: implicit declaration of function 'find_khz_freq_from_pstate' [-Werror=implicit-function-declaration]
drivers/cpufreq/powernow-k8.c:996:8: error: 'struct powernow_k8_data' has no member named 'currpstate'
drivers/cpufreq/powernow-k8.c:1004:2: error: implicit declaration of function 'transition_pstate' [-Werror=implicit-function-declaration]
drivers/cpufreq/powernow-k8.c: At top level:
drivers/cpufreq/powernow-k8.c:981:12: warning: 'transition_frequency_pstate' defined but not used [-Wunused-function]

The code causing this was removed by commit e1f0b8e9b04a ("cpufreq:
Remove support for hardware P-state chips from powernow-k8") but
reintroduced (presumably incorrectly) by commit d20801be3c11 ("Merge
branch 'master' into linux-next").

I have used the pm tree from next-20120924 for today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]