diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:34:09 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:16:40 -0400 |
commit | 5442a8adfce93c1cd556e04bfc0a118adc3b683e (patch) | |
tree | 5e01b4062243a34bda49a531d4231ddca8126885 /litmus/fdso.c | |
parent | fa3c94fc9cd1619fe0dd6081a1a980c09ef3e119 (diff) |
[ported from 2008.3] Add Stack Resource Policy (SRP) support
Diffstat (limited to 'litmus/fdso.c')
-rw-r--r-- | litmus/fdso.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/litmus/fdso.c b/litmus/fdso.c index 323efac17a47..16e3a43a67d1 100644 --- a/litmus/fdso.c +++ b/litmus/fdso.c | |||
@@ -18,6 +18,7 @@ | |||
18 | 18 | ||
19 | #include <litmus/fdso.h> | 19 | #include <litmus/fdso.h> |
20 | 20 | ||
21 | extern struct fdso_ops srp_sem_ops; | ||
21 | 22 | ||
22 | static struct fdso_ops dummy_ops = { | 23 | static struct fdso_ops dummy_ops = { |
23 | .create = NULL | 24 | .create = NULL |
@@ -25,7 +26,7 @@ static struct fdso_ops dummy_ops = { | |||
25 | 26 | ||
26 | static const struct fdso_ops* fdso_ops[] = { | 27 | static const struct fdso_ops* fdso_ops[] = { |
27 | &dummy_ops, | 28 | &dummy_ops, |
28 | &dummy_ops, | 29 | &srp_sem_ops, |
29 | }; | 30 | }; |
30 | 31 | ||
31 | static void* fdso_create(obj_type_t type) | 32 | static void* fdso_create(obj_type_t type) |