diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-13 16:15:33 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-13 16:15:33 -0400 |
commit | 2d8f8176515f2516b9a0b85642a7b842eb53552b (patch) | |
tree | 0a434e9f3e5af613802db75f6811dd6fb1122f95 /litmus/dgl.c | |
parent | 1fde4dd4de048d7fbfe3e1418f4a76c62423ad95 (diff) |
Can disable nonpreemptivity
Diffstat (limited to 'litmus/dgl.c')
-rw-r--r-- | litmus/dgl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/litmus/dgl.c b/litmus/dgl.c index 2df27b48fcdf..0c1ce73868e3 100644 --- a/litmus/dgl.c +++ b/litmus/dgl.c | |||
@@ -126,6 +126,10 @@ void set_req(struct dgl *dgl, struct dgl_group_req *greq, | |||
126 | 126 | ||
127 | BUG_ON(replicas > dgl->num_replicas); | 127 | BUG_ON(replicas > dgl->num_replicas); |
128 | 128 | ||
129 | #ifndef CONFIG_NP_SECTION | ||
130 | BUG_ON(1); | ||
131 | #endif | ||
132 | |||
129 | mask_idx(resource, &word, &bit); | 133 | mask_idx(resource, &word, &bit); |
130 | __set_bit(bit, &greq->requested[word]); | 134 | __set_bit(bit, &greq->requested[word]); |
131 | 135 | ||