]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3a7ccdbc5d9d2171758eedd6c371cc36805f69a6
tree46e6f092defc8a499e9696a1fa4490216d6479a2
parenta2501dcfd0929fa876e2d7ec1bd92a36ca063118
[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