Skip to content

Commit

Permalink
update ihklib001.c (fix arch-depending ihk module)
Browse files Browse the repository at this point in the history
  • Loading branch information
stkn-hse committed Jan 14, 2018
1 parent 9068e71 commit 8313682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ihklib/ihklib001_lin.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int main(int argc, char** argv) {
status = system(cmd);
CHKANDJUMP(WEXITSTATUS(status) != 0, -1, "system");

sprintf(cmd, "insmod %s/kmod/ihk-smp-x86.ko ihk_start_irq=240 ihk_ikc_irq_core=0", prefix);
sprintf(cmd, "insmod %s/kmod/ihk-smp-x86_64.ko ihk_start_irq=240 ihk_ikc_irq_core=0", prefix);
status = system(cmd);
CHKANDJUMP(WEXITSTATUS(status) != 0, -1, "system");

Expand Down Expand Up @@ -869,7 +869,7 @@ int main(int argc, char** argv) {
OKNG(ret_ihklib == 0 &&
strstr(buf, "/tmp/mcos/mcos0_sys") == NULL, "ihk_os_destroy_pseudofs (3)\n");

sprintf(cmd, "rmmod %s/kmod/ihk-smp-x86.ko", prefix);
sprintf(cmd, "rmmod %s/kmod/ihk-smp-x86_64.ko", prefix);
status = system(cmd);
CHKANDJUMP(WEXITSTATUS(status) != 0, -1, "system");

Expand Down

0 comments on commit 8313682

Please sign in to comment.