aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/pasemi.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-04-27 15:46:01 +1000
committerPaul Mackerras <paulus@samba.org>2007-04-27 15:51:57 +1000
commit2e0c3370b3ecf831ef209f1094df36a808865845 (patch)
tree770811bacfb792089406c797bf706748d16f170f /arch/powerpc/platforms/pasemi/pasemi.h
parent116ab40df8decf8c519368e31825e9584c86adf2 (diff)
downloadkernel_samsung_smdk4412-2e0c3370b3ecf831ef209f1094df36a808865845.zip
kernel_samsung_smdk4412-2e0c3370b3ecf831ef209f1094df36a808865845.tar.gz
kernel_samsung_smdk4412-2e0c3370b3ecf831ef209f1094df36a808865845.tar.bz2
[POWERPC] pasemi: Cpufreq driver
Cpufreq driver for PA Semi PWRficient processors. Signed-off-by: Egor Martovetsky <egor@pasemi.com> Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/pasemi.h')
-rw-r--r--arch/powerpc/platforms/pasemi/pasemi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/pasemi.h b/arch/powerpc/platforms/pasemi/pasemi.h
index 2d3927e..be84954 100644
--- a/arch/powerpc/platforms/pasemi/pasemi.h
+++ b/arch/powerpc/platforms/pasemi/pasemi.h
@@ -14,6 +14,14 @@ extern void __init pasemi_idle_init(void);
extern void idle_spin(void);
extern void idle_doze(void);
+/* Restore astate to last set */
+#ifdef CONFIG_PPC_PASEMI_CPUFREQ
+extern void restore_astate(int cpu);
+#else
+static inline void restore_astate(int cpu)
+{
+}
+#endif
#endif /* _PASEMI_PASEMI_H */