Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 9, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Rafael,

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

ERROR: "gov_cancel_work" [drivers/cpufreq/cpufreq_ondemand.ko] undefined!

Caused by commit

68e115b19a01 ("cpufreq: governor: replace per-cpu delayed work with timers")

I have used the pm tree from next-20151208 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
maintainer
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi Rafael,

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

Quoted 7 lines

ERROR: "gov_cancel_work" [drivers/cpufreq/cpufreq_ondemand.ko] undefined!

Caused by commit

68e115b19a01 ("cpufreq: governor: replace per-cpu delayed work with timers")

I have used the pm tree from next-20151208 for today.

Yeah, it missed this stupid change. Sorry about that.

drivers/cpufreq/cpufreq_governor.c +1 -0
index 948771f169d2..4de12fd35b1f 100644
@@ -205,6 +205,7 @@ void gov_cancel_work(struct cpu_common_dbs_info *shared)
        gov_cancel_timers(shared->policy);
        atomic_set(&shared->skip_work, 0);
 }
+EXPORT_SYMBOL_GPL(gov_cancel_work);
 
 /* Will return if we need to evaluate cpu load again or not */
 static bool need_load_eval(struct cpu_common_dbs_info *shared,

Rafael, I am resending the original patch with this change.

Signature · 1 line
viresh