s390/sclp_sdias: fix sclp_sdias_copy() virtual vs physical address confusion
Due to historical reasons sclp_sdias_copy() misuses the notion of physical vs virtual addresses difference. Note: this does not fix a bug currently, since virtual and physical addresses are identical. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
1f231e2950
commit
628c66942e
@ -184,7 +184,7 @@ int sclp_sdias_copy(void *dest, int start_blk, int nr_blks)
|
||||
sccb->evbuf.asa_size = SDIAS_ASA_SIZE_64;
|
||||
sccb->evbuf.event_status = 0;
|
||||
sccb->evbuf.blk_cnt = nr_blks;
|
||||
sccb->evbuf.asa = (unsigned long)dest;
|
||||
sccb->evbuf.asa = __pa(dest);
|
||||
sccb->evbuf.fbn = start_blk;
|
||||
sccb->evbuf.lbn = 0;
|
||||
sccb->evbuf.dbs = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user