Skip to content

Commit 2e10930

Browse files
amerritt-intelwenlingz
authored andcommitted
Python scripts discovering CPU IDs are off by 1
Tracked-On: #4387 Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
1 parent ef1c92e commit 2e10930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/acrn-config/target/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def dump_cpu_core_info(config):
201201
print("\t{}".format(processor_id), end="", file=config)
202202

203203
processor_id += 1
204-
while (processor_id < int(line.split('-')[1].strip())):
204+
while (processor_id <= int(line.split('-')[1].strip())):
205205
print(", {}".format(processor_id), end="", file=config)
206206
processor_id += 1
207207

0 commit comments

Comments
 (0)