summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2007-02-27 15:16:31 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2007-02-27 15:16:31 +0000
commit8c3c194d44786b822a3a857791a320e13b231437 (patch)
tree93930ebab8ad1afe5fa6fa95904cdcc7c04b9d42 /sys/arch
parentfb430bc4777d7d4a35e515c98d9e83c71ad8ef3c (diff)
call_apm should be 64 bit.
ok art
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/apm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c
index bf1902982bf..aca6a6a1443 100644
--- a/sys/arch/i386/i386/apm.c
+++ b/sys/arch/i386/i386/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.72 2006/10/22 23:21:25 deraadt Exp $ */
+/* $OpenBSD: apm.c,v 1.73 2007/02/27 15:16:30 marco Exp $ */
/*-
* Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved.
@@ -638,7 +638,7 @@ void
apm_cpu_idle(void)
{
struct apmregs regs;
- static int call_apm = 0;
+ static u_int64_t call_apm = 0;
if (!apm_cd.cd_ndevs) { /* No APM device, wait for next interrupt */
__asm __volatile("sti;hlt");