diff options
author | nate <nate@FreeBSD.org> | 1996-03-19 04:40:03 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-03-19 04:40:03 +0000 |
commit | ebbb96df5dd5aa4740d33043b7be12012c68415c (patch) | |
tree | 73b3c0647fe4217fe9baf9be85e2ae572631232c /sys/i386/apm/apm.c | |
parent | 792e8500f7db555c706c737c2f67c0a1e59d86b3 (diff) | |
download | FreeBSD-src-ebbb96df5dd5aa4740d33043b7be12012c68415c.zip FreeBSD-src-ebbb96df5dd5aa4740d33043b7be12012c68415c.tar.gz |
Always enable interrupts before calling the APM idle/busy routines.
Suggested by: phk@FreeBSD.org
Diffstat (limited to 'sys/i386/apm/apm.c')
-rw-r--r-- | sys/i386/apm/apm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index 56ef020..2f7b9a0 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -13,7 +13,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.31 1996/03/18 22:47:16 nate Exp $ + * $Id: apm.c,v 1.32 1996/03/18 23:30:14 nate Exp $ */ #include "apm.h" @@ -511,7 +511,7 @@ apm_cpu_idle(void) * APM driver. */ if (!sc->active || sc->halt_cpu) { - __asm("sti ; hlt"); /* wait for interrupt */ + __asm("hlt"); /* wait for interrupt */ } } |