summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-11-27 19:00:27 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-11-27 19:00:27 +0000
commit1d1e47fe5d9c6461b1b5b7d8de1bc21472d20e9e (patch)
treef8d6a29254ebbe74e98e21aa3e7f79dfdb17ca34 /sys
parentd75b85cf701be60249d1d7cb1f1540b5cbc2750a (diff)
intr_disable() returns an u_int64_t.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/ipifuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/ipifuncs.c b/sys/arch/sparc64/sparc64/ipifuncs.c
index 75304a0aede..5e48180231e 100644
--- a/sys/arch/sparc64/sparc64/ipifuncs.c
+++ b/sys/arch/sparc64/sparc64/ipifuncs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipifuncs.c,v 1.5 2007/11/16 16:20:55 kettenis Exp $ */
+/* $OpenBSD: ipifuncs.c,v 1.6 2007/11/27 19:00:26 kettenis Exp $ */
/* $NetBSD: ipifuncs.c,v 1.8 2006/10/07 18:11:36 rjs Exp $ */
/*-
@@ -79,7 +79,7 @@ sparc64_send_ipi(int upaid, void (*func)(void), u_int64_t arg0, u_int64_t arg1)
/* Schedule an interrupt. */
for (i = 0; i < SPARC64_IPI_RETRIES; i++) {
- int s = intr_disable();
+ u_int64_t s = intr_disable();
stxa(IDDR_0H, ASI_INTERRUPT_DISPATCH, (u_int64_t)func);
stxa(IDDR_1H, ASI_INTERRUPT_DISPATCH, arg0);