X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fhppa-arch.h;h=42b8a1cd46941890f346a642da4c30d42de3bfe3;hb=cb296ae5a022a5b0f1fd573584301b0d2a9493f9;hp=3a2c96ef95d33b30a250463ca00b09d12c02ef26;hpb=8a19c6876412b8ad1cf729297c2a373d63a0d0ec;p=sbcl.git diff --git a/src/runtime/hppa-arch.h b/src/runtime/hppa-arch.h index 3a2c96e..42b8a1c 100644 --- a/src/runtime/hppa-arch.h +++ b/src/runtime/hppa-arch.h @@ -1,6 +1,19 @@ #ifndef _HPPA_ARCH_H #define _HPPA_ARCH_H + +static inline void +get_spinlock(lispobj *word,int value) +{ + *word=value; /* FIXME for threads */ +} + +static inline void +release_spinlock(lispobj *word) +{ + *word=0; +} + #define ARCH_HAS_NPC_REGISTER #endif /* _HPPA_ARCH_H */