diff options
author | Steve Passe <fsmp@FreeBSD.org> | 1997-08-30 08:08:10 +0000 |
---|---|---|
committer | Steve Passe <fsmp@FreeBSD.org> | 1997-08-30 08:08:10 +0000 |
commit | 78292efeef6fe20911f07b09e626a12e9c12b234 (patch) | |
tree | 4c99d6592ffa5600ca2d58df8fff140e2491d3dd /sys/amd64/amd64/exception.S | |
parent | 579f738316c91efb2e8f8e54aaba07823707c507 (diff) | |
download | src-78292efeef6fe20911f07b09e626a12e9c12b234.tar.gz src-78292efeef6fe20911f07b09e626a12e9c12b234.zip |
Another round of lock pushdown.
Add a simplelock to deal with disable_intr()/enable_intr() as used in UP kernel.
UP kernel expects that this is enough to guarantee exclusive access to
regions of code bracketed by these 2 functions.
Add a simplelock to bracket clock accesses in clock.c: clock_lock.
Help from: Bruce Evans <bde@zeta.org.au>
Notes
Notes:
svn path=/head/; revision=28921
Diffstat (limited to 'sys/amd64/amd64/exception.S')
-rw-r--r-- | sys/amd64/amd64/exception.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index f072e7a3c8c3..9a74ca1ea6ac 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/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.19 1997/08/28 09:50:41 smp Exp smp $ + * $Id: exception.s,v 1.42 1997/08/29 18:16:17 fsmp Exp $ */ #include "npx.h" /* NNPX */ @@ -38,9 +38,9 @@ #include <machine/ipl.h> /* SWI_AST_MASK ... */ #include <machine/psl.h> /* PSL_I */ #include <machine/trap.h> /* trap codes */ -#include <machine/asmacros.h> /* miscellaneous macros */ -#include <machine/param.h> +#include <machine/asmacros.h> #include <machine/smptests.h> /* INTR_SIMPLELOCK */ +#include <machine/lock.h> #ifndef SMP #undef INTR_SIMPLELOCK /* simplifies cpp tests */ |