s390/extmem: fix virtual vs physical address confusion
Fix virtual vs physical address confusion. This does not fix a bug since virtual and physical address spaces are currently the same. Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
parent
8d16ce1488
commit
f78bcb2e26
@ -136,7 +136,7 @@ dcss_diag(int *func, void *parameter,
|
||||
unsigned long rx, ry;
|
||||
int rc;
|
||||
|
||||
rx = (unsigned long) parameter;
|
||||
rx = virt_to_phys(parameter);
|
||||
ry = (unsigned long) *func;
|
||||
|
||||
diag_stat_inc(DIAG_STAT_X064);
|
||||
@ -178,7 +178,7 @@ query_segment_type (struct dcss_segment *seg)
|
||||
|
||||
/* initialize diag input parameters */
|
||||
qin->qopcode = DCSS_FINDSEGA;
|
||||
qin->qoutptr = (unsigned long) qout;
|
||||
qin->qoutptr = virt_to_phys(qout);
|
||||
qin->qoutlen = sizeof(struct qout64);
|
||||
memcpy (qin->qname, seg->dcss_name, 8);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user