aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/pasemi.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-04-27 01:46:01 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-27 01:51:57 -0400
commit2e0c3370b3ecf831ef209f1094df36a808865845 (patch)
tree770811bacfb792089406c797bf706748d16f170f /arch/powerpc/platforms/pasemi/pasemi.h
parent116ab40df8decf8c519368e31825e9584c86adf2 (diff)
[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 2d3927e6edb0..be8495497611 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);
14extern void idle_spin(void); 14extern void idle_spin(void);
15extern void idle_doze(void); 15extern void idle_doze(void);
16 16
17/* Restore astate to last set */
18#ifdef CONFIG_PPC_PASEMI_CPUFREQ
19extern void restore_astate(int cpu);
20#else
21static inline void restore_astate(int cpu)
22{
23}
24#endif
17 25
18 26
19#endif /* _PASEMI_PASEMI_H */ 27#endif /* _PASEMI_PASEMI_H */