mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
Fix from comments
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
This commit is contained in:
committed by
BrentHoltsclaw
parent
66f93f1b3d
commit
cd7bc14ea6
@@ -671,7 +671,7 @@ class LinuxHelper(Helper):
|
||||
|
||||
def set_affinity(self, thread_id):
|
||||
if thread_id < self.get_affinity():
|
||||
os.sched_setaffinity(thread_id)
|
||||
os.sched_setaffinity(thread_id,{thread_id})
|
||||
return thread_id
|
||||
else:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user