]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/init_task.h
sched: rt group scheduling
[linux-2.6-omap-h63xx.git] / include / linux / init_task.h
index ee65d87bedb7c043cde6179309c5a46f058e2884..796019b22b6ff5c549c609530e454d37d162b1d4 100644 (file)
@@ -130,12 +130,13 @@ extern struct group_info init_groups;
        .normal_prio    = MAX_PRIO-20,                                  \
        .policy         = SCHED_NORMAL,                                 \
        .cpus_allowed   = CPU_MASK_ALL,                                 \
-       .nr_cpus_allowed = NR_CPUS,                                     \
        .mm             = NULL,                                         \
        .active_mm      = &init_mm,                                     \
        .rt             = {                                             \
                .run_list       = LIST_HEAD_INIT(tsk.rt.run_list),      \
-               .time_slice     = HZ, },                                \
+               .time_slice     = HZ,                                   \
+               .nr_cpus_allowed = NR_CPUS,                             \
+       },                                                              \
        .ioprio         = 0,                                            \
        .tasks          = LIST_HEAD_INIT(tsk.tasks),                    \
        .ptrace_children= LIST_HEAD_INIT(tsk.ptrace_children),          \