diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-02-13 05:10:06 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-13 05:10:06 +0000 |
commit | 64e7adb07b252ba4b6d6990bf6dad2105e072105 (patch) | |
tree | d5942287e79818d0d1bdf31b8167f040b7d7246b /src/include/port/bsd.h | |
parent | e3f222466498260a97b2559d539398bad9e6ccff (diff) |
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Apart from this Makefile hack, all I've done is to make dynamically
loaded code modules fail properly (as was already done for __mips__,
although I think this is too loose: I believe NetBSD for the pmax can
do dynamic linking), and to add test-and-set lock handling. As Bruce
suggested, this is done in a maximally efficient inlined way: I was
not aware that this code was so important, speed-wise.
Diffstat (limited to 'src/include/port/bsd.h')
-rw-r--r-- | src/include/port/bsd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/bsd.h b/src/include/port/bsd.h index 12787118aea..f64ea094563 100644 --- a/src/include/port/bsd.h +++ b/src/include/port/bsd.h @@ -10,6 +10,11 @@ #define HAS_TEST_AND_SET #endif +#if defined(vax) +#define NEED_VAX_TAS_ASM +#define HAS_TEST_AND_SET +#endif + #if defined(ns32k) #define NEED_NS32k_TAS_ASM #define HAS_TEST_AND_SET |