[S390] Program check in diag 210 under 31 bit
authorMichael Holzheu <holzheu@de.ibm.com>
Tue, 10 Jul 2007 09:24:15 +0000 (11:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 Jul 2007 09:24:48 +0000 (11:24 +0200)
commitdc4123303b54657389c952049bf5738dd753d004
tree46e6f092defc8a499e9696a1fa4490216d6479a2
parent8a88367088a6b9964d99694b30d80720f019bea2
[S390] Program check in diag 210 under 31 bit

If a virtual address is passed to the diag210 function under 31 bit, we get a
programming exception, since diag 210 only works with physical addresses. To
fix this, the content of the diag210 data structure is copied to a local
structure and the physical address of that structure is passed to diagnose 210.

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device_id.c