IKC: only cpu 0 check the master-channel
This commit is contained in:
@ -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)
|
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;
|
param->packet_handler = syscall_packet_handler;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@ -741,6 +741,6 @@ void init_host_ikc2mckernel(void)
|
|||||||
}
|
}
|
||||||
dkprintf("connected.\n");
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user