aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/litmus.h
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-01-28 17:04:58 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-01 16:30:40 -0500
commite1b81e70c3af9d19d639bc8bdaa5a8fc13bf17a8 (patch)
treea05f415994b7313afff06a437e049c40bb5366cd /include/litmus/litmus.h
parentcc602187d4466374bca031039e145aa1b89aca96 (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.h2
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
116void preempt_if_preemptable(struct task_struct* t, int on_cpu); 116void preempt_if_preemptable(struct task_struct* t, int on_cpu);
117 117
118#ifdef CONFIG_SRP 118#ifdef CONFIG_LITMUS_LOCKING
119void srp_ceiling_block(void); 119void srp_ceiling_block(void);
120#else 120#else
121#define srp_ceiling_block() /* nothing */ 121#define srp_ceiling_block() /* nothing */