diff options
Diffstat (limited to 'arch/s390/kernel/base.S')
-rw-r--r-- | arch/s390/kernel/base.S | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/arch/s390/kernel/base.S b/arch/s390/kernel/base.S index f74a53d339b0..daed3fde42ec 100644 --- a/arch/s390/kernel/base.S +++ b/arch/s390/kernel/base.S | |||
@@ -11,8 +11,6 @@ | |||
11 | #include <asm/ptrace.h> | 11 | #include <asm/ptrace.h> |
12 | #include <asm/sigp.h> | 12 | #include <asm/sigp.h> |
13 | 13 | ||
14 | #ifdef CONFIG_64BIT | ||
15 | |||
16 | ENTRY(s390_base_mcck_handler) | 14 | ENTRY(s390_base_mcck_handler) |
17 | basr %r13,0 | 15 | basr %r13,0 |
18 | 0: lg %r15,__LC_PANIC_STACK # load panic stack | 16 | 0: lg %r15,__LC_PANIC_STACK # load panic stack |
@@ -131,77 +129,3 @@ ENTRY(diag308_reset) | |||
131 | .Lfpctl: | 129 | .Lfpctl: |
132 | .long 0 | 130 | .long 0 |
133 | .previous | 131 | .previous |
134 | |||
135 | #else /* CONFIG_64BIT */ | ||
136 | |||
137 | ENTRY(s390_base_mcck_handler) | ||
138 | basr %r13,0 | ||
139 | 0: l %r15,__LC_PANIC_STACK # load panic stack | ||
140 | ahi %r15,-STACK_FRAME_OVERHEAD | ||
141 | l %r1,2f-0b(%r13) | ||
142 | l %r1,0(%r1) | ||
143 | ltr %r1,%r1 | ||
144 | jz 1f | ||
145 | basr %r14,%r1 | ||
146 | 1: lm %r0,%r15,__LC_GPREGS_SAVE_AREA | ||
147 | lpsw __LC_MCK_OLD_PSW | ||
148 | |||
149 | 2: .long s390_base_mcck_handler_fn | ||
150 | |||
151 | .section .bss | ||
152 | .align 4 | ||
153 | .globl s390_base_mcck_handler_fn | ||
154 | s390_base_mcck_handler_fn: | ||
155 | .long 0 | ||
156 | .previous | ||
157 | |||
158 | ENTRY(s390_base_ext_handler) | ||
159 | stm %r0,%r15,__LC_SAVE_AREA_ASYNC | ||
160 | basr %r13,0 | ||
161 | 0: ahi %r15,-STACK_FRAME_OVERHEAD | ||
162 | l %r1,2f-0b(%r13) | ||
163 | l %r1,0(%r1) | ||
164 | ltr %r1,%r1 | ||
165 | jz 1f | ||
166 | basr %r14,%r1 | ||
167 | 1: lm %r0,%r15,__LC_SAVE_AREA_ASYNC | ||
168 | ni __LC_EXT_OLD_PSW+1,0xfd # clear wait state bit | ||
169 | lpsw __LC_EXT_OLD_PSW | ||
170 | |||
171 | 2: .long s390_base_ext_handler_fn | ||
172 | |||
173 | .section .bss | ||
174 | .align 4 | ||
175 | .globl s390_base_ext_handler_fn | ||
176 | s390_base_ext_handler_fn: | ||
177 | .long 0 | ||
178 | .previous | ||
179 | |||
180 | ENTRY(s390_base_pgm_handler) | ||
181 | stm %r0,%r15,__LC_SAVE_AREA_SYNC | ||
182 | basr %r13,0 | ||
183 | 0: ahi %r15,-STACK_FRAME_OVERHEAD | ||
184 | l %r1,2f-0b(%r13) | ||
185 | l %r1,0(%r1) | ||
186 | ltr %r1,%r1 | ||
187 | jz 1f | ||
188 | basr %r14,%r1 | ||
189 | lm %r0,%r15,__LC_SAVE_AREA_SYNC | ||
190 | lpsw __LC_PGM_OLD_PSW | ||
191 | |||
192 | 1: lpsw disabled_wait_psw-0b(%r13) | ||
193 | |||
194 | 2: .long s390_base_pgm_handler_fn | ||
195 | |||
196 | disabled_wait_psw: | ||
197 | .align 8 | ||
198 | .long 0x000a0000,0x00000000 + s390_base_pgm_handler | ||
199 | |||
200 | .section .bss | ||
201 | .align 4 | ||
202 | .globl s390_base_pgm_handler_fn | ||
203 | s390_base_pgm_handler_fn: | ||
204 | .long 0 | ||
205 | .previous | ||
206 | |||
207 | #endif /* CONFIG_64BIT */ | ||