diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-01-18 11:13:07 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-01-18 11:14:15 -0500 |
commit | cc9f46d0ce73ae30e3918999976ef587b0e8a04d (patch) | |
tree | 85c3da741b968ce8ad0f3b75daa86238cd93a054 /litmus/sched_gsn_edf.c | |
parent | e6b58b65441925c307f40ce5bd9d5676750f7601 (diff) |
/proc hooks for locking protocols.
RSM locks only make use of /proc for now.
Diffstat (limited to 'litmus/sched_gsn_edf.c')
-rw-r--r-- | litmus/sched_gsn_edf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c index 01791a18e8f3..b3309ee2561e 100644 --- a/litmus/sched_gsn_edf.c +++ b/litmus/sched_gsn_edf.c | |||
@@ -1720,6 +1720,7 @@ static struct litmus_lock* gsnedf_new_fmlp(void) | |||
1720 | sem = kmalloc(sizeof(*sem), GFP_KERNEL); | 1720 | sem = kmalloc(sizeof(*sem), GFP_KERNEL); |
1721 | if (!sem) | 1721 | if (!sem) |
1722 | return NULL; | 1722 | return NULL; |
1723 | memset(sem, 0, sizeof(*sem)); | ||
1723 | 1724 | ||
1724 | sem->owner = NULL; | 1725 | sem->owner = NULL; |
1725 | sem->hp_waiter = NULL; | 1726 | sem->hp_waiter = NULL; |