summaryrefslogtreecommitdiff
path: root/src/cpu/ozone/cpu_builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/ozone/cpu_builder.cc')
-rw-r--r--src/cpu/ozone/cpu_builder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/ozone/cpu_builder.cc b/src/cpu/ozone/cpu_builder.cc
index beb179d41..9cac3a524 100644
--- a/src/cpu/ozone/cpu_builder.cc
+++ b/src/cpu/ozone/cpu_builder.cc
@@ -59,11 +59,11 @@ DerivOzoneCPUParams::create()
#if FULL_SYSTEM
// Full-system only supports a single thread for the moment.
- int actual_num_threads = 1;
+ ThreadID actual_num_threads = 1;
#else
// In non-full-system mode, we infer the number of threads from
// the workload if it's not explicitly specified.
- int actual_num_threads =
+ ThreadID actual_num_threads =
numThreads.isValid() ? numThreads : workload.size();
if (workload.size() == 0) {