Kevin Hilman [off-list ref] writes:
From: Russell King <redacted>
On OMAP SMP configuartion, both processors share the voltage
and clock. So both CPUs needs to be scaled together and hence
needs software co-ordination.
[...]
quoted hunk
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
index a6b2be7..f9b4c4d 100644
--- a/drivers/cpufreq/omap-cpufreq.c
+++ b/drivers/cpufreq/omap-cpufreq.c
@@ -23,6 +23,7 @@
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/opp.h>
+#include <linux/cpu.h>
#include <asm/system.h>
#include <asm/smp_plat.h>
Thanks to checkpatch, I blindly removed an "#include <asm/cpu.h>" here
without re-testing. Turns out it was important.
Added it back, and updated the version available in my
for_3.2/omap-cpufreq branch.
Kevin