aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorztong <ztong@cs.unc.edu>2021-06-12 17:10:39 -0400
committerztong <ztong@cs.unc.edu>2021-06-12 17:10:39 -0400
commitd81563a019782d03b27f12034a42f5e58040a622 (patch)
tree8b7bcea31f34a4d88a8e0f63a9f6bbdb6e9760b8 /include
parent445fda17c6f68e6185b05e07cbd6632bfc1b21c3 (diff)
fixes for RTSSbudgeting
Diffstat (limited to 'include')
-rw-r--r--include/litmus/reservations/gedf_reservation.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/litmus/reservations/gedf_reservation.h b/include/litmus/reservations/gedf_reservation.h
index 8f4d99f7c922..faf481a1ab6f 100644
--- a/include/litmus/reservations/gedf_reservation.h
+++ b/include/litmus/reservations/gedf_reservation.h
@@ -64,7 +64,10 @@ struct gedf_reservation_environment {
64 struct list_head all_reservations; 64 struct list_head all_reservations;
65 65
66 /* number of active cpus in reservation */ 66 /* number of active cpus in reservation */
67 volatile int num_cpus; 67 int num_cpus;
68
69 /* numbers of cpus reservation is active on */
70 int num_active_cpus;
68 71
69 /* array of gedf cpu entries */ 72 /* array of gedf cpu entries */
70 struct gedf_cpu_entry* cpu_entries; 73 struct gedf_cpu_entry* cpu_entries;