summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/user/ChangeLog4
-rw-r--r--runtime/user/emul.h13
2 files changed, 17 insertions, 0 deletions
diff --git a/runtime/user/ChangeLog b/runtime/user/ChangeLog
index f55340f2..b9a3f1fe 100644
--- a/runtime/user/ChangeLog
+++ b/runtime/user/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-14 Martin Hunt <hunt@redhat.com>
+
+ * emul.h: Add fake spinlock funcs.
+
2005-12-07 Martin Hunt <hunt@redhat.com>
* alloc.c: Remove all unused functions.
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)
+{
+}