diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-03-04 18:33:11 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-01 11:43:15 -0400 |
commit | 8b36e6fb97b15ad5953777e621bec9f3191267a9 (patch) | |
tree | 2a3919e0e91332715974edc6f17b7ea9e71c7174 | |
parent | f08db18a7b4195691010c7343b998f455c0c9038 (diff) |
allow real-time tasks access to SRP resources (for setup)
-rw-r--r-- | litmus/litmus_sem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/litmus/litmus_sem.c b/litmus/litmus_sem.c index f7047058d1..486fb3bef7 100644 --- a/litmus/litmus_sem.c +++ b/litmus/litmus_sem.c | |||
@@ -360,10 +360,6 @@ static void* create_srp_semaphore(void) | |||
360 | { | 360 | { |
361 | struct srp_semaphore* sem; | 361 | struct srp_semaphore* sem; |
362 | 362 | ||
363 | if (!is_realtime(current)) | ||
364 | /* XXX log error */ | ||
365 | return NULL; | ||
366 | |||
367 | sem = kmalloc(sizeof(*sem), GFP_KERNEL); | 363 | sem = kmalloc(sizeof(*sem), GFP_KERNEL); |
368 | if (!sem) | 364 | if (!sem) |
369 | return NULL; | 365 | return NULL; |