From 6cda6792a9bf591006102b43f32dd37ed61c2f7f Mon Sep 17 00:00:00 2001 From: Tomoki Shirasawa Date: Sun, 14 Feb 2016 22:47:52 +0900 Subject: [PATCH] process_msg_init_acked: don't use PA --- kernel/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/host.c b/kernel/host.c index 78ed7f7e..0f7dca4d 100644 --- a/kernel/host.c +++ b/kernel/host.c @@ -449,7 +449,7 @@ static void process_msg_init(struct ikc_scd_init_param *pcp, struct syscall_para static void process_msg_init_acked(struct ihk_ikc_channel_desc *c, unsigned long pphys) { - struct ikc_scd_init_param *param = (void *)pphys; + struct ikc_scd_init_param *param = phys_to_virt(pphys); struct syscall_params *lparam; enum ihk_mc_pt_attribute attr;