diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2004-07-20 20:18:54 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2004-07-20 20:18:54 +0000 |
commit | 3007bd7d121c38b72cd0b72b8f749bfc55180df8 (patch) | |
tree | 3de5efa1d62c2db691af4ac97805b33a397b0f65 /sys/arch/i386/include | |
parent | 68589e5f2f9ead70b37b7aeb6bcd9e296ce26f23 (diff) |
Use mutex instead of SIMPLELOCK for protecting ddb on mp systems.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/db_machdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/db_machdep.h b/sys/arch/i386/include/db_machdep.h index d39c95fd135..ef3996305a1 100644 --- a/sys/arch/i386/include/db_machdep.h +++ b/sys/arch/i386/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.12 2004/07/02 16:29:55 niklas Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.13 2004/07/20 20:18:53 art Exp $ */ /* $NetBSD: db_machdep.h,v 1.9 1996/05/03 19:23:59 christos Exp $ */ /* @@ -125,7 +125,7 @@ void db_startcpu(int cpu); void db_stopcpu(int cpu); void i386_ipi_db(struct cpu_info *); -extern struct SIMPLELOCK ddb_mp_slock; +extern struct mutex ddb_mp_mutex; /* For ddb_state */ #define DDB_STATE_NOT_RUNNING 0 |