diff options
Diffstat (limited to 'arch/s390/kernel/head64.S')
-rw-r--r-- | arch/s390/kernel/head64.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S index 48998d50b00a..b30e5897cdf7 100644 --- a/arch/s390/kernel/head64.S +++ b/arch/s390/kernel/head64.S | |||
@@ -251,6 +251,17 @@ startup_continue: | |||
251 | 0: | 251 | 0: |
252 | 252 | ||
253 | # | 253 | # |
254 | # find out if the diag 0x9c is available | ||
255 | # | ||
256 | la %r1,0f-.LPG1(%r13) # set program check address | ||
257 | stg %r1,__LC_PGM_NEW_PSW+8 | ||
258 | stap __LC_CPUID+4 # store cpu address | ||
259 | lh %r1,__LC_CPUID+4 | ||
260 | diag %r1,0,0x9c # test diag 0x9c | ||
261 | oi 6(%r12),1 # set diag9c flag | ||
262 | 0: | ||
263 | |||
264 | # | ||
254 | # find out if we have the MVCOS instruction | 265 | # find out if we have the MVCOS instruction |
255 | # | 266 | # |
256 | la %r1,0f-.LPG1(%r13) # set program check address | 267 | la %r1,0f-.LPG1(%r13) # set program check address |