aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/celleb/beat.c
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-10-02 04:18:46 -0400
committerPaul Mackerras <paulus@samba.org>2007-10-02 23:25:28 -0400
commit80755b4144b303882437ac301034f0c7330199a8 (patch)
treecf224c8a9a683b87106ee61764da9d7ed53ed6e7 /arch/powerpc/platforms/celleb/beat.c
parent74c9b99d4dcadd144fab7326c99d0ffb1de19245 (diff)
[POWERPC] Celleb: Move pause, kexec_cpu_down to beat.c
This is an update for "Beat on Celleb" - Move beat_pause(), beat_kexec_cpu_down() from setup.c to beat.c Signed-off-by: <Kou.Ishizaki@toshiba.co.jp> Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/celleb/beat.c')
-rw-r--r--arch/powerpc/platforms/celleb/beat.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/celleb/beat.c b/arch/powerpc/platforms/celleb/beat.c
index 99341ce8a697..ced6f68c7b0b 100644
--- a/arch/powerpc/platforms/celleb/beat.c
+++ b/arch/powerpc/platforms/celleb/beat.c
@@ -158,6 +158,18 @@ int64_t beat_put_term_char(u64 vterm, u64 len, u64 t1, u64 t2)
158 return beat_put_characters_to_console(vterm, len, (u8*)db); 158 return beat_put_characters_to_console(vterm, len, (u8*)db);
159} 159}
160 160
161void beat_power_save(void)
162{
163 beat_pause(0);
164}
165
166#ifdef CONFIG_KEXEC
167void beat_kexec_cpu_down(int crash, int secondary)
168{
169 beatic_deinit_IRQ();
170}
171#endif
172
161EXPORT_SYMBOL(beat_get_term_char); 173EXPORT_SYMBOL(beat_get_term_char);
162EXPORT_SYMBOL(beat_put_term_char); 174EXPORT_SYMBOL(beat_put_term_char);
163EXPORT_SYMBOL(beat_halt_code); 175EXPORT_SYMBOL(beat_halt_code);