]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/arm/machine_routines_common.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / arm / machine_routines_common.c
index f7fca614b8aa2addf323d6749841f4f24bda664e..aa60dd3fe3a480182d006a2663f1b66a862d39a7 100644 (file)
@@ -526,6 +526,7 @@ machine_thread_group_init(struct thread_group *tg)
        data.thread_group_id = thread_group_get_id(tg);
        data.thread_group_data = thread_group_get_machine_data(tg);
        data.thread_group_size = thread_group_machine_data_size();
+       data.thread_group_flags = thread_group_get_flags(tg);
        sched_perfcontrol_thread_group_init(&data);
 }
 
@@ -539,6 +540,7 @@ machine_thread_group_deinit(struct thread_group *tg)
        data.thread_group_id = thread_group_get_id(tg);
        data.thread_group_data = thread_group_get_machine_data(tg);
        data.thread_group_size = thread_group_machine_data_size();
+       data.thread_group_flags = thread_group_get_flags(tg);
        sched_perfcontrol_thread_group_deinit(&data);
 }