forked from Minki/linux
s390/iucv: sort out physical vs virtual pointers usage
Fix virtual vs physical address confusion (which currently are the same). Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Alexandra Winter <wintera@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
ee8f97efa7
commit
ab847d03a5
@ -319,7 +319,7 @@ static inline int iucv_call_b2f0(int command, union iucv_param *parm)
|
||||
*/
|
||||
static int __iucv_query_maxconn(void *param, unsigned long *max_pathid)
|
||||
{
|
||||
unsigned long reg1 = (unsigned long)param;
|
||||
unsigned long reg1 = virt_to_phys(param);
|
||||
int cc;
|
||||
|
||||
asm volatile (
|
||||
|
Loading…
Reference in New Issue
Block a user