diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-28 17:04:58 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-02-01 16:30:40 -0500 |
commit | e1b81e70c3af9d19d639bc8bdaa5a8fc13bf17a8 (patch) | |
tree | a05f415994b7313afff06a437e049c40bb5366cd /include/litmus/litmus.h | |
parent | cc602187d4466374bca031039e145aa1b89aca96 (diff) |
SRP: port to new generic locking API
This re-enables SRP support under PSN-EDF and demonstrates how the new
locking API should be used.
Diffstat (limited to 'include/litmus/litmus.h')
-rw-r--r-- | include/litmus/litmus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h index 4a774a9e7acc..8971b25f23e6 100644 --- a/include/litmus/litmus.h +++ b/include/litmus/litmus.h | |||
@@ -115,7 +115,7 @@ static inline lt_t litmus_clock(void) | |||
115 | 115 | ||
116 | void preempt_if_preemptable(struct task_struct* t, int on_cpu); | 116 | void preempt_if_preemptable(struct task_struct* t, int on_cpu); |
117 | 117 | ||
118 | #ifdef CONFIG_SRP | 118 | #ifdef CONFIG_LITMUS_LOCKING |
119 | void srp_ceiling_block(void); | 119 | void srp_ceiling_block(void); |
120 | #else | 120 | #else |
121 | #define srp_ceiling_block() /* nothing */ | 121 | #define srp_ceiling_block() /* nothing */ |