Compare commits
2 Commits
1.7.1-0.91
...
1.7.1-0.92
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e82adc761 | |||
| 1f9fbe82db |
@ -10,7 +10,7 @@ project(mckernel C ASM)
|
||||
set(MCKERNEL_VERSION "1.7.1")
|
||||
|
||||
# See "Fedora Packaging Guidelines -- Versioning"
|
||||
set(MCKERNEL_RELEASE "0.91")
|
||||
set(MCKERNEL_RELEASE "0.92")
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
|
||||
# for rpmbuild
|
||||
|
||||
@ -536,9 +536,6 @@ int prepare_ikc_channels(ihk_os_t os)
|
||||
usrdata->os = os;
|
||||
ihk_host_os_set_usrdata(os, usrdata);
|
||||
|
||||
ihk_ikc_listen_port(os, &lp_ikc2linux);
|
||||
ihk_ikc_listen_port(os, &lp_ikc2mckernel);
|
||||
|
||||
init_waitqueue_head(&usrdata->wq_procfs);
|
||||
mutex_init(&usrdata->reserve_lock);
|
||||
mutex_init(&usrdata->part_exec_lock);
|
||||
@ -555,6 +552,16 @@ int prepare_ikc_channels(ihk_os_t os)
|
||||
INIT_LIST_HEAD(&usrdata->wakeup_descs_list);
|
||||
spin_lock_init(&usrdata->wakeup_descs_lock);
|
||||
|
||||
/* ihk_ikc_listen_port should be performed after
|
||||
* usrdata->cpu_topology_list is initialized because the
|
||||
* function enables syscall_packet_handler which accesses
|
||||
* the list (the call path is sysfsm_packet_handler -->
|
||||
* sysfsm_work_main --> sysfsm_setup --> setup_sysfs_files
|
||||
* --> setup_cpus_sysfs_files).
|
||||
*/
|
||||
ihk_ikc_listen_port(os, &lp_ikc2linux);
|
||||
ihk_ikc_listen_port(os, &lp_ikc2mckernel);
|
||||
|
||||
return 0;
|
||||
|
||||
error:
|
||||
|
||||
2
ihk
2
ihk
Submodule ihk updated: efacf4fceb...2c16f87330
Reference in New Issue
Block a user