[PATCH 03/18] linux wrapper: add more dummy spin_lock stubs
Christoph Fritz
chf.fritz at googlemail.com
Fri Jun 13 00:54:20 PDT 2014
Signed-off-by: Christoph Fritz <chf.fritz at googlemail.com>
---
include/linux/barebox-wrapper.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h
index 753fb52..4b5ea10 100644
--- a/include/linux/barebox-wrapper.h
+++ b/include/linux/barebox-wrapper.h
@@ -38,6 +38,8 @@ typedef int spinlock_t;
#define spin_lock_init(...)
#define spin_lock(...)
#define spin_unlock(...)
+#define spin_lock_irqsave(...)
+#define spin_unlock_irqrestore(...)
#define mutex_init(...)
#define mutex_lock(...)
--
1.7.10.4
More information about the barebox
mailing list