2 * arch/s390/kernel/reset.S
4 * Copyright (C) IBM Corp. 2006
5 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
8 #include <asm/ptrace.h>
9 #include <asm/lowcore.h>
13 .globl reset_mcck_handler
16 0: lg %r15,__LC_PANIC_STACK # load panic stack
17 aghi %r15,-STACK_FRAME_OVERHEAD
18 lg %r1,s390_reset_mcck_handler-0b(%r13)
23 lmg %r0,%r15,__LC_GPREGS_SAVE_AREA-4095(%r1)
24 lpswe __LC_MCK_OLD_PSW
26 .globl s390_reset_mcck_handler
27 s390_reset_mcck_handler:
30 #else /* CONFIG_64BIT */
32 .globl reset_mcck_handler
35 0: l %r15,__LC_PANIC_STACK # load panic stack
36 ahi %r15,-STACK_FRAME_OVERHEAD
37 l %r1,s390_reset_mcck_handler-0b(%r13)
41 1: lm %r0,%r15,__LC_GPREGS_SAVE_AREA
44 .globl s390_reset_mcck_handler
45 s390_reset_mcck_handler:
48 #endif /* CONFIG_64BIT */