sched/core: Fix bugs in user_cpus_ptr handling
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2143847
MR: !1853 (merged)
This MR fixes two user_cpus_ptr handling bugs as user_cpus_ptr is now being used whenever sched_setaffinity(2) is called due to MR #1544 that updated the user requested cpu affinity code.
Signed-off-by: Waiman Long longman@redhat.com
Edited by Waiman Long