diff options
-rw-r--r-- | sys/arch/amd64/amd64/db_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/db_interface.c b/sys/arch/amd64/amd64/db_interface.c index 6072bd7d5a9..172f5bc5e3c 100644 --- a/sys/arch/amd64/amd64/db_interface.c +++ b/sys/arch/amd64/amd64/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.13 2007/11/16 16:16:07 deraadt Exp $ */ +/* $OpenBSD: db_interface.c,v 1.14 2008/10/03 17:07:53 weingart Exp $ */ /* $NetBSD: db_interface.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $ */ /* @@ -325,7 +325,7 @@ db_enter_ddb(void) /* Busy wait without locking, we'll confirm with lock later */ while (ddb_active_cpu != cpu_number() && curcpu()->ci_ddb_paused != CI_DDB_RUNNING) - ; /* Do nothing */ + __asm __volatile ("hlt"); /* Do nothing */ mtx_enter(&ddb_mp_mutex); } |