diff options
author | hunt <hunt> | 2005-12-14 20:59:42 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-12-14 20:59:42 +0000 |
commit | 51566dc440ab46954f4bfc96048ca1576867297d (patch) | |
tree | 28954ee8c7c21eca4add6f3c075eae05919e0192 | |
parent | 083384f0d9541e7b4ca152ffda11bf9d7952b712 (diff) | |
download | systemtap-steved-51566dc440ab46954f4bfc96048ca1576867297d.tar.gz systemtap-steved-51566dc440ab46954f4bfc96048ca1576867297d.tar.xz systemtap-steved-51566dc440ab46954f4bfc96048ca1576867297d.zip |
2005-12-14 Martin Hunt <hunt@redhat.com>
* emul.h: Add fake spinlock funcs.
-rw-r--r-- | runtime/user/ChangeLog | 4 | ||||
-rw-r--r-- | runtime/user/emul.h | 13 |
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) +{ +} |