Skip to content

Commit

Permalink
Python scripts discovering CPU IDs are off by 1
Browse files Browse the repository at this point in the history
Tracked-On: #4387
Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
  • Loading branch information
amerritt-intel authored and wenlingz committed Feb 10, 2020
1 parent ef1c92e commit 2e10930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/acrn-config/target/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def dump_cpu_core_info(config):
print("\t{}".format(processor_id), end="", file=config)

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

Expand Down

0 comments on commit 2e10930

Please sign in to comment.