diff options
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/sched_pres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_pres.c b/litmus/sched_pres.c index 13a47a831794..49648ee9bfbc 100644 --- a/litmus/sched_pres.c +++ b/litmus/sched_pres.c | |||
@@ -264,7 +264,7 @@ static long pres_admit_task(struct task_struct *tsk) | |||
264 | unsigned long flags; | 264 | unsigned long flags; |
265 | struct reservation *res; | 265 | struct reservation *res; |
266 | struct pres_cpu_state *state; | 266 | struct pres_cpu_state *state; |
267 | struct pres_task_state *tinfo = kzalloc(sizeof(*tinfo), GFP_KERNEL); | 267 | struct pres_task_state *tinfo = kzalloc(sizeof(*tinfo), GFP_ATOMIC); |
268 | 268 | ||
269 | if (!tinfo) | 269 | if (!tinfo) |
270 | return -ENOMEM; | 270 | return -ENOMEM; |