diff options
| -rw-r--r-- | arch/s390/kernel/head31.S | 8 | ||||
| -rw-r--r-- | arch/s390/kernel/head64.S | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/arch/s390/kernel/head31.S b/arch/s390/kernel/head31.S index 1b952a3664e2..0a2c929486ab 100644 --- a/arch/s390/kernel/head31.S +++ b/arch/s390/kernel/head31.S | |||
| @@ -258,10 +258,10 @@ startup_continue: | |||
| 258 | # find out if the diag 0x9c is available | 258 | # find out if the diag 0x9c is available |
| 259 | # | 259 | # |
| 260 | mvc __LC_PGM_NEW_PSW(8),.Lpcdiag9c-.LPG1(%r13) | 260 | mvc __LC_PGM_NEW_PSW(8),.Lpcdiag9c-.LPG1(%r13) |
| 261 | stap __LC_CPUID+4 # store cpu address | 261 | stap __LC_CPUID+4 # store cpu address |
| 262 | lh %r1,__LC_CPUID+4 | 262 | lh %r1,__LC_CPUID+4 |
| 263 | diag %r1,0,0x9c # test diag 0x9c | 263 | diag %r1,0,0x9c # test diag 0x9c |
| 264 | oi 2(%r12),1 # set diag9c flag | 264 | oi 2(%r12),1 # set diag9c flag |
| 265 | .Lchkdiag9c: | 265 | .Lchkdiag9c: |
| 266 | 266 | ||
| 267 | lpsw .Lentry-.LPG1(13) # jump to _stext in primary-space, | 267 | lpsw .Lentry-.LPG1(13) # jump to _stext in primary-space, |
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S index b30e5897cdf7..42f54d482441 100644 --- a/arch/s390/kernel/head64.S +++ b/arch/s390/kernel/head64.S | |||
| @@ -253,12 +253,12 @@ startup_continue: | |||
| 253 | # | 253 | # |
| 254 | # find out if the diag 0x9c is available | 254 | # find out if the diag 0x9c is available |
| 255 | # | 255 | # |
| 256 | la %r1,0f-.LPG1(%r13) # set program check address | 256 | la %r1,0f-.LPG1(%r13) # set program check address |
| 257 | stg %r1,__LC_PGM_NEW_PSW+8 | 257 | stg %r1,__LC_PGM_NEW_PSW+8 |
| 258 | stap __LC_CPUID+4 # store cpu address | 258 | stap __LC_CPUID+4 # store cpu address |
| 259 | lh %r1,__LC_CPUID+4 | 259 | lh %r1,__LC_CPUID+4 |
| 260 | diag %r1,0,0x9c # test diag 0x9c | 260 | diag %r1,0,0x9c # test diag 0x9c |
| 261 | oi 6(%r12),1 # set diag9c flag | 261 | oi 6(%r12),1 # set diag9c flag |
| 262 | 0: | 262 | 0: |
| 263 | 263 | ||
| 264 | # | 264 | # |
