projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.4.23:
[sbcl.git]
/
src
/
runtime
/
hppa-arch.h
diff --git
a/src/runtime/hppa-arch.h
b/src/runtime/hppa-arch.h
index
3a2c96e
..
58cecc2
100644
(file)
--- a/
src/runtime/hppa-arch.h
+++ b/
src/runtime/hppa-arch.h
@@
-1,6
+1,19
@@
#ifndef _HPPA_ARCH_H
#define _HPPA_ARCH_H
#ifndef _HPPA_ARCH_H
#define _HPPA_ARCH_H
+
+static inline void
+get_spinlock(lispobj *word,long value)
+{
+ *word=value; /* FIXME for threads */
+}
+
+static inline void
+release_spinlock(lispobj *word)
+{
+ *word=0;
+}
+
#define ARCH_HAS_NPC_REGISTER
#endif /* _HPPA_ARCH_H */
#define ARCH_HAS_NPC_REGISTER
#endif /* _HPPA_ARCH_H */