From 7fd55dc83fadb407c5f0f935579149b48b17f1b0 Mon Sep 17 00:00:00 2001 From: Ken Sato Date: Tue, 4 Apr 2017 10:24:22 +0900 Subject: [PATCH] IKC: only cpu 0 check the master-channel --- executer/kernel/mcctrl/ikc.c | 7 ------- kernel/host.c | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/executer/kernel/mcctrl/ikc.c b/executer/kernel/mcctrl/ikc.c index 791471f1..60174335 100644 --- a/executer/kernel/mcctrl/ikc.c +++ b/executer/kernel/mcctrl/ikc.c @@ -216,13 +216,6 @@ static void mcctrl_ikc_init(ihk_os_t os, int cpu, unsigned long rphys, struct ih static int connect_handler_ikc2linux(struct ihk_ikc_channel_info *param) { - struct ihk_ikc_channel_desc *c; - int linux_cpu; - ihk_os_t os = param->channel->remote_os; - - c = param->channel; - linux_cpu = c->recv.queue->read_cpu; - param->packet_handler = syscall_packet_handler; return 0; diff --git a/kernel/host.c b/kernel/host.c index ef611f36..d1e6c6db 100644 --- a/kernel/host.c +++ b/kernel/host.c @@ -741,6 +741,6 @@ void init_host_ikc2mckernel(void) } dkprintf("connected.\n"); - ihk_ikc_set_intr_channel(NULL, param.channel, ihk_ikc_get_processor_id()); + ihk_ikc_set_regular_channel(NULL, param.channel, ihk_ikc_get_processor_id()); }