aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/s390/hypfs/hypfs_diag0c.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-01-17 15:35:17 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-02-09 13:58:13 +0100
commite98eda926b5d855a9513dcf742107d1e22d1089c (patch)
treeebe86aa05124ebd3a3adeff4514756621ed42032 /arch/s390/hypfs/hypfs_diag0c.c
parents390/hypfs_sprp: fix virtual vs physical address confusion (diff)
downloadwireguard-linux-e98eda926b5d855a9513dcf742107d1e22d1089c.tar.xz
wireguard-linux-e98eda926b5d855a9513dcf742107d1e22d1089c.zip
s390/hypfs_diag0c: fix virtual vs physical address confusion
Add missing virt_to_phys() translation to diag0c(). This doesn't fix a bug since virtual and physical addresses are currently the same. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/hypfs/hypfs_diag0c.c')
-rw-r--r--arch/s390/hypfs/hypfs_diag0c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/hypfs/hypfs_diag0c.c b/arch/s390/hypfs/hypfs_diag0c.c
index 9a2786079e3a..4131f0daa5ea 100644
--- a/arch/s390/hypfs/hypfs_diag0c.c
+++ b/arch/s390/hypfs/hypfs_diag0c.c
@@ -20,8 +20,7 @@
*/
static void diag0c_fn(void *data)
{
- diag_stat_inc(DIAG_STAT_X00C);
- diag_amode31_ops.diag0c(((void **)data)[smp_processor_id()]);
+ diag0c(((void **)data)[smp_processor_id()]);
}
/*