aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-07-28 01:15:58 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-11-24 15:21:08 -0500
commit5bd89a34d89f252619d83fef3c9325e24311389e (patch)
tree0860be1b38ce94b09f8715e47a130f4da1827408 /litmus/litmus.c
parent81b8eb2ae452c241df9b3a1fb2116fa4d5adcb75 (diff)
Litmus core: simplify np-section protocolwip-2011.2-bbb
User a 32-bit word for all non-preemptive section flags. Set the "please yield soon" flag atomically when accessing it on remotely-scheduled tasks.
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index 73af6c3010d6..301390148d02 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -529,6 +529,8 @@ static int __init _init_litmus(void)
529 */ 529 */
530 printk("Starting LITMUS^RT kernel\n"); 530 printk("Starting LITMUS^RT kernel\n");
531 531
532 BUILD_BUG_ON(sizeof(union np_flag) != sizeof(uint32_t));
533
532 register_sched_plugin(&linux_sched_plugin); 534 register_sched_plugin(&linux_sched_plugin);
533 535
534 bheap_node_cache = KMEM_CACHE(bheap_node, SLAB_PANIC); 536 bheap_node_cache = KMEM_CACHE(bheap_node, SLAB_PANIC);