aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/base.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/base.S')
-rw-r--r--arch/s390/kernel/base.S25
1 files changed, 13 insertions, 12 deletions
diff --git a/arch/s390/kernel/base.S b/arch/s390/kernel/base.S
index 15e46ca94335..209938c1dfc8 100644
--- a/arch/s390/kernel/base.S
+++ b/arch/s390/kernel/base.S
@@ -6,13 +6,13 @@
6 * Michael Holzheu <holzheu@de.ibm.com> 6 * Michael Holzheu <holzheu@de.ibm.com>
7 */ 7 */
8 8
9#include <linux/linkage.h>
9#include <asm/asm-offsets.h> 10#include <asm/asm-offsets.h>
10#include <asm/ptrace.h> 11#include <asm/ptrace.h>
11 12
12#ifdef CONFIG_64BIT 13#ifdef CONFIG_64BIT
13 14
14 .globl s390_base_mcck_handler 15ENTRY(s390_base_mcck_handler)
15s390_base_mcck_handler:
16 basr %r13,0 16 basr %r13,0
170: lg %r15,__LC_PANIC_STACK # load panic stack 170: lg %r15,__LC_PANIC_STACK # load panic stack
18 aghi %r15,-STACK_FRAME_OVERHEAD 18 aghi %r15,-STACK_FRAME_OVERHEAD
@@ -26,13 +26,13 @@ s390_base_mcck_handler:
26 lpswe __LC_MCK_OLD_PSW 26 lpswe __LC_MCK_OLD_PSW
27 27
28 .section .bss 28 .section .bss
29 .align 8
29 .globl s390_base_mcck_handler_fn 30 .globl s390_base_mcck_handler_fn
30s390_base_mcck_handler_fn: 31s390_base_mcck_handler_fn:
31 .quad 0 32 .quad 0
32 .previous 33 .previous
33 34
34 .globl s390_base_ext_handler 35ENTRY(s390_base_ext_handler)
35s390_base_ext_handler:
36 stmg %r0,%r15,__LC_SAVE_AREA 36 stmg %r0,%r15,__LC_SAVE_AREA
37 basr %r13,0 37 basr %r13,0
380: aghi %r15,-STACK_FRAME_OVERHEAD 380: aghi %r15,-STACK_FRAME_OVERHEAD
@@ -46,13 +46,13 @@ s390_base_ext_handler:
46 lpswe __LC_EXT_OLD_PSW 46 lpswe __LC_EXT_OLD_PSW
47 47
48 .section .bss 48 .section .bss
49 .align 8
49 .globl s390_base_ext_handler_fn 50 .globl s390_base_ext_handler_fn
50s390_base_ext_handler_fn: 51s390_base_ext_handler_fn:
51 .quad 0 52 .quad 0
52 .previous 53 .previous
53 54
54 .globl s390_base_pgm_handler 55ENTRY(s390_base_pgm_handler)
55s390_base_pgm_handler:
56 stmg %r0,%r15,__LC_SAVE_AREA 56 stmg %r0,%r15,__LC_SAVE_AREA
57 basr %r13,0 57 basr %r13,0
580: aghi %r15,-STACK_FRAME_OVERHEAD 580: aghi %r15,-STACK_FRAME_OVERHEAD
@@ -70,6 +70,7 @@ disabled_wait_psw:
70 .quad 0x0002000180000000,0x0000000000000000 + s390_base_pgm_handler 70 .quad 0x0002000180000000,0x0000000000000000 + s390_base_pgm_handler
71 71
72 .section .bss 72 .section .bss
73 .align 8
73 .globl s390_base_pgm_handler_fn 74 .globl s390_base_pgm_handler_fn
74s390_base_pgm_handler_fn: 75s390_base_pgm_handler_fn:
75 .quad 0 76 .quad 0
@@ -77,8 +78,7 @@ s390_base_pgm_handler_fn:
77 78
78#else /* CONFIG_64BIT */ 79#else /* CONFIG_64BIT */
79 80
80 .globl s390_base_mcck_handler 81ENTRY(s390_base_mcck_handler)
81s390_base_mcck_handler:
82 basr %r13,0 82 basr %r13,0
830: l %r15,__LC_PANIC_STACK # load panic stack 830: l %r15,__LC_PANIC_STACK # load panic stack
84 ahi %r15,-STACK_FRAME_OVERHEAD 84 ahi %r15,-STACK_FRAME_OVERHEAD
@@ -93,13 +93,13 @@ s390_base_mcck_handler:
932: .long s390_base_mcck_handler_fn 932: .long s390_base_mcck_handler_fn
94 94
95 .section .bss 95 .section .bss
96 .align 4
96 .globl s390_base_mcck_handler_fn 97 .globl s390_base_mcck_handler_fn
97s390_base_mcck_handler_fn: 98s390_base_mcck_handler_fn:
98 .long 0 99 .long 0
99 .previous 100 .previous
100 101
101 .globl s390_base_ext_handler 102ENTRY(s390_base_ext_handler)
102s390_base_ext_handler:
103 stm %r0,%r15,__LC_SAVE_AREA 103 stm %r0,%r15,__LC_SAVE_AREA
104 basr %r13,0 104 basr %r13,0
1050: ahi %r15,-STACK_FRAME_OVERHEAD 1050: ahi %r15,-STACK_FRAME_OVERHEAD
@@ -115,13 +115,13 @@ s390_base_ext_handler:
1152: .long s390_base_ext_handler_fn 1152: .long s390_base_ext_handler_fn
116 116
117 .section .bss 117 .section .bss
118 .align 4
118 .globl s390_base_ext_handler_fn 119 .globl s390_base_ext_handler_fn
119s390_base_ext_handler_fn: 120s390_base_ext_handler_fn:
120 .long 0 121 .long 0
121 .previous 122 .previous
122 123
123 .globl s390_base_pgm_handler 124ENTRY(s390_base_pgm_handler)
124s390_base_pgm_handler:
125 stm %r0,%r15,__LC_SAVE_AREA 125 stm %r0,%r15,__LC_SAVE_AREA
126 basr %r13,0 126 basr %r13,0
1270: ahi %r15,-STACK_FRAME_OVERHEAD 1270: ahi %r15,-STACK_FRAME_OVERHEAD
@@ -142,6 +142,7 @@ disabled_wait_psw:
142 .long 0x000a0000,0x00000000 + s390_base_pgm_handler 142 .long 0x000a0000,0x00000000 + s390_base_pgm_handler
143 143
144 .section .bss 144 .section .bss
145 .align 4
145 .globl s390_base_pgm_handler_fn 146 .globl s390_base_pgm_handler_fn
146s390_base_pgm_handler_fn: 147s390_base_pgm_handler_fn:
147 .long 0 148 .long 0