···258258# find out if the diag 0x9c is available259259#260260 mvc __LC_PGM_NEW_PSW(8),.Lpcdiag9c-.LPG1(%r13)261261- stap __LC_CPUID+4 # store cpu address262262- lh %r1,__LC_CPUID+4263263- diag %r1,0,0x9c # test diag 0x9c264264- oi 2(%r12),1 # set diag9c flag261261+ stap __LC_CPUID+4 # store cpu address262262+ lh %r1,__LC_CPUID+4263263+ diag %r1,0,0x9c # test diag 0x9c264264+ oi 2(%r12),1 # set diag9c flag265265.Lchkdiag9c:266266267267 lpsw .Lentry-.LPG1(13) # jump to _stext in primary-space,
+6-6
arch/s390/kernel/head64.S
···253253#254254# find out if the diag 0x9c is available255255#256256- la %r1,0f-.LPG1(%r13) # set program check address257257- stg %r1,__LC_PGM_NEW_PSW+8258258- stap __LC_CPUID+4 # store cpu address259259- lh %r1,__LC_CPUID+4260260- diag %r1,0,0x9c # test diag 0x9c261261- oi 6(%r12),1 # set diag9c flag256256+ la %r1,0f-.LPG1(%r13) # set program check address257257+ stg %r1,__LC_PGM_NEW_PSW+8258258+ stap __LC_CPUID+4 # store cpu address259259+ lh %r1,__LC_CPUID+4260260+ diag %r1,0,0x9c # test diag 0x9c261261+ oi 6(%r12),1 # set diag9c flag2622620:263263264264#