add get_cpu_id syscall with No.700 for testing

This commit is contained in:
YOSHIDA Masanori
2014-06-25 17:29:02 +09:00
committed by Masamichi Takagi
parent 3751fa1766
commit 99931179e1
2 changed files with 6 additions and 0 deletions

View File

@ -2014,6 +2014,11 @@ SYSCALL_DECLARE(sched_getaffinity)
return len;
}
SYSCALL_DECLARE(get_cpu_id)
{
return ihk_mc_get_processor_id();
}
SYSCALL_DECLARE(sched_yield)
{
return -ENOSYS;