From cd7bc14ea67affccafa5a2d4210d1afe61fd635e Mon Sep 17 00:00:00 2001 From: brentholtsclaw Date: Wed, 13 May 2020 09:19:57 -0700 Subject: [PATCH] Fix from comments Signed-off-by: brentholtsclaw --- chipsec/helper/linux/linuxhelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chipsec/helper/linux/linuxhelper.py b/chipsec/helper/linux/linuxhelper.py index d15fe5b0..08ed758e 100644 --- a/chipsec/helper/linux/linuxhelper.py +++ b/chipsec/helper/linux/linuxhelper.py @@ -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