summaryrefslogtreecommitdiff
path: root/firmware/kernel/include/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/kernel/include/mutex.h')
-rw-r--r--firmware/kernel/include/mutex.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/kernel/include/mutex.h b/firmware/kernel/include/mutex.h
index 4778eb7f11..816d8040cb 100644
--- a/firmware/kernel/include/mutex.h
+++ b/firmware/kernel/include/mutex.h
@@ -36,10 +36,5 @@ struct mutex
36extern void mutex_init(struct mutex *m); 36extern void mutex_init(struct mutex *m);
37extern void mutex_lock(struct mutex *m); 37extern void mutex_lock(struct mutex *m);
38extern void mutex_unlock(struct mutex *m); 38extern void mutex_unlock(struct mutex *m);
39#ifndef HAVE_PRIORITY_SCHEDULING
40/* Deprecated but needed for now - firmware/drivers/ata_mmc.c */
41static inline bool mutex_test(const struct mutex *m)
42 { return m->blocker.thread != NULL; }
43#endif /* HAVE_PRIORITY_SCHEDULING */
44 39
45#endif /* MUTEX_H */ 40#endif /* MUTEX_H */