aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2005-11-07 03:59:04 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 10:53:33 -0500
commit9b4554aa21270f5b6fa19a9dd2285f16e11f15f1 (patch)
tree48624f0a859445f6e28b45c5d4c64ef144e16f10 /arch/s390
parent373c491f6d15f29ab2f87d4a60f90cb0b770aaf6 (diff)
[PATCH] s390: memory query wait psw
Don't switch back to 24 bit addressing mode when waiting for an external interrupt and set the correct bit in wait PSW (external mask instead of I/O mask). Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/head.S3
-rw-r--r--arch/s390/kernel/head64.S5
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/s390/kernel/head.S b/arch/s390/kernel/head.S
index 039354d72348..4ca029332114 100644
--- a/arch/s390/kernel/head.S
+++ b/arch/s390/kernel/head.S
@@ -572,8 +572,7 @@ startup:basr %r13,0 # get base
572.Lcr: 572.Lcr:
573 .long 0x00 # place holder for cr0 573 .long 0x00 # place holder for cr0
574.Lwaitsclp: 574.Lwaitsclp:
575 .long 0x020A0000 575 .long 0x010a0000,0x80000000 + .Lsclph
576 .long .Lsclph
577.Lrcp: 576.Lrcp:
578 .int 0x00120001 # Read SCP forced code 577 .int 0x00120001 # Read SCP forced code
579.Lrcp2: 578.Lrcp2:
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S
index 193aafa72f54..d9be8f96f2e0 100644
--- a/arch/s390/kernel/head64.S
+++ b/arch/s390/kernel/head64.S
@@ -530,7 +530,7 @@ startup:basr %r13,0 # get base
530 be .Lfchunk-.LPG1(%r13) # leave 530 be .Lfchunk-.LPG1(%r13) # leave
531 chi %r1,2 531 chi %r1,2
532 be .Lservicecall-.LPG1(%r13) 532 be .Lservicecall-.LPG1(%r13)
533 lpsw .Lwaitsclp-.LPG1(%r13) 533 lpswe .Lwaitsclp-.LPG1(%r13)
534.Lsclph: 534.Lsclph:
535 lh %r1,.Lsccbr-PARMAREA(%r4) 535 lh %r1,.Lsccbr-PARMAREA(%r4)
536 chi %r1,0x10 # 0x0010 is the sucess code 536 chi %r1,0x10 # 0x0010 is the sucess code
@@ -567,8 +567,7 @@ startup:basr %r13,0 # get base
567.Lcr: 567.Lcr:
568 .quad 0x00 # place holder for cr0 568 .quad 0x00 # place holder for cr0
569.Lwaitsclp: 569.Lwaitsclp:
570 .long 0x020A0000 570 .quad 0x0102000180000000,.Lsclph
571 .quad .Lsclph
572.Lrcp: 571.Lrcp:
573 .int 0x00120001 # Read SCP forced code 572 .int 0x00120001 # Read SCP forced code
574.Lrcp2: 573.Lrcp2: