summaryrefslogtreecommitdiffstats
path: root/runtime/user/emul.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/user/emul.h')
-rw-r--r--runtime/user/emul.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/user/emul.h b/runtime/user/emul.h
index 2821e8ac..aa5479d4 100644
--- a/runtime/user/emul.h
+++ b/runtime/user/emul.h
@@ -75,3 +75,16 @@ const char *_stp_kallsyms_lookup (unsigned long addr,
modname = (char **)&buf;
return namebuf;
}
+
+int __lockfunc _spin_trylock(spinlock_t *lock)
+{
+ return 1;
+}
+
+void __lockfunc _spin_lock(spinlock_t *lock)
+{
+}
+
+void __lockfunc _spin_unlock(spinlock_t *lock)
+{
+}