diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-09 22:52:59 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-09 22:52:59 +0000 |
commit | 7ef900f1688269eab5c74e991f3290cb4cf20d01 (patch) | |
tree | 57a404a764f4cc746d4f0cf6225f91a4c59c1033 /sys/i386 | |
parent | 4f0afc74e17ee11803bc5cd677cd5c1069e1e2af (diff) | |
download | FreeBSD-src-7ef900f1688269eab5c74e991f3290cb4cf20d01.zip FreeBSD-src-7ef900f1688269eab5c74e991f3290cb4cf20d01.tar.gz |
Minor conditionalization of XXX_MPLOCK on PEND_INTS.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/exception.s | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/i386/exception.s b/sys/i386/i386/exception.s index f51cd0f..2d81b17 100644 --- a/sys/i386/i386/exception.s +++ b/sys/i386/i386/exception.s @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: exception.s,v 1.34 1997/07/31 05:43:02 fsmp Exp $ + * $Id: exception.s,v 1.35 1997/08/09 00:02:31 dyson Exp $ */ #include "npx.h" /* NNPX */ @@ -43,10 +43,13 @@ #ifdef SMP #include <machine/apic.h> /* for apic_vector.s */ +#include <machine/smptests.h> /** PEND_INTS */ +#ifndef PEND_INTS /* generic giant-lock calls */ #define GET_MPLOCK call _get_mplock #define REL_MPLOCK call _rel_mplock +#endif /* PEND_INTS */ /* ISR specific giant-lock calls */ #define GET_ISRLOCK(N) call _get_isrlock |