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>
This commit is contained in:

committed by
Paul Mundt

parent
ef48e8e349
commit
3aa770e797
@@ -308,7 +308,7 @@ ENTRY(exception_error)
|
||||
.align 2
|
||||
ret_from_exception:
|
||||
preempt_stop()
|
||||
ret_from_irq:
|
||||
ENTRY(ret_from_irq)
|
||||
!
|
||||
mov #OFF_SR, r0
|
||||
mov.l @(r0,r15), r0 ! get status register
|
||||
@@ -704,7 +704,7 @@ interrupt:
|
||||
!
|
||||
!
|
||||
.align 2
|
||||
handle_exception:
|
||||
ENTRY(handle_exception)
|
||||
! Using k0, k1 for scratch registers (r0_bank1, r1_bank),
|
||||
! save all registers onto stack.
|
||||
!
|
||||
|
Reference in New Issue
Block a user