IKC: only cpu 0 check the master-channel

This commit is contained in:
Ken Sato
2017-04-04 10:24:22 +09:00
committed by Balazs Gerofi
parent d66af42f7b
commit 7fd55dc83f
2 changed files with 1 additions and 8 deletions

View File

@ -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;

View File

@ -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());
}