add get_cpu_id syscall with No.700 for testing
This commit is contained in:
committed by
Masamichi Takagi
parent
3751fa1766
commit
99931179e1
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user