fix return value of sched_getaffinity (POSTK_DEBUG_TEMP_FIX_58) refs#1122
Change-Id: I3d7b9b74eec268dd49b703600ca56df1d2933bd9
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user