diff options
author | Andriy Skulysh <askulysh@gmail.com> | 2006-09-27 03:20:22 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 03:20:22 -0400 |
commit | 3aa770e7972723f479122cf66b529017d2175289 (patch) | |
tree | f70d870381cec8034693704e346c53b311db688f /arch/sh/kernel/entry.S | |
parent | ef48e8e3498605351f91f195cc9af0ef981b0dde (diff) |
sh: APM/PM support.
This adds some simple PM stubs and the basic APM interfaces,
primarily for use by hp6xx, where the existing userland
expects it.
Signed-off-by: Andriy Skulysh <askulysh@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/entry.S')
-rw-r--r-- | arch/sh/kernel/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S index 306eb8d83de5..b087d34dba35 100644 --- a/arch/sh/kernel/entry.S +++ b/arch/sh/kernel/entry.S | |||
@@ -308,7 +308,7 @@ ENTRY(exception_error) | |||
308 | .align 2 | 308 | .align 2 |
309 | ret_from_exception: | 309 | ret_from_exception: |
310 | preempt_stop() | 310 | preempt_stop() |
311 | ret_from_irq: | 311 | ENTRY(ret_from_irq) |
312 | ! | 312 | ! |
313 | mov #OFF_SR, r0 | 313 | mov #OFF_SR, r0 |
314 | mov.l @(r0,r15), r0 ! get status register | 314 | mov.l @(r0,r15), r0 ! get status register |
@@ -704,7 +704,7 @@ interrupt: | |||
704 | ! | 704 | ! |
705 | ! | 705 | ! |
706 | .align 2 | 706 | .align 2 |
707 | handle_exception: | 707 | ENTRY(handle_exception) |
708 | ! Using k0, k1 for scratch registers (r0_bank1, r1_bank), | 708 | ! Using k0, k1 for scratch registers (r0_bank1, r1_bank), |
709 | ! save all registers onto stack. | 709 | ! save all registers onto stack. |
710 | ! | 710 | ! |