diff options
author | Olof Johansson <olof@lixom.net> | 2007-04-27 01:46:01 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 01:51:57 -0400 |
commit | 2e0c3370b3ecf831ef209f1094df36a808865845 (patch) | |
tree | 770811bacfb792089406c797bf706748d16f170f /arch/powerpc/platforms/pasemi/pasemi.h | |
parent | 116ab40df8decf8c519368e31825e9584c86adf2 (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.h | 8 |
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); | |||
14 | extern void idle_spin(void); | 14 | extern void idle_spin(void); |
15 | extern void idle_doze(void); | 15 | extern void idle_doze(void); |
16 | 16 | ||
17 | /* Restore astate to last set */ | ||
18 | #ifdef CONFIG_PPC_PASEMI_CPUFREQ | ||
19 | extern void restore_astate(int cpu); | ||
20 | #else | ||
21 | static inline void restore_astate(int cpu) | ||
22 | { | ||
23 | } | ||
24 | #endif | ||
17 | 25 | ||
18 | 26 | ||
19 | #endif /* _PASEMI_PASEMI_H */ | 27 | #endif /* _PASEMI_PASEMI_H */ |