fix return value of sched_getaffinity (POSTK_DEBUG_TEMP_FIX_58) refs#1122

Change-Id: I3d7b9b74eec268dd49b703600ca56df1d2933bd9
This commit is contained in:
Ken Sato
2018-06-21 09:14:36 +09:00
parent 86ae1380e4
commit 90dba00742

View File

@ -6836,11 +6836,8 @@ SYSCALL_DECLARE(sched_getaffinity)
}
dkprintf("%s() len: %d, ret: %d\n", __FUNCTION__, len, ret);
#ifdef POSTK_DEBUG_TEMP_FIX_58 /* sched_getafifnity return value fix */
return ret;
#else /* POSTK_DEBUG_TEMP_FIX_58 */
return len;
#endif /* POSTK_DEBUG_TEMP_FIX_58 */
}
SYSCALL_DECLARE(get_cpu_id)