summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-01-07 13:39:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-01-07 13:39:29 +0000
commit5267685759f56ab3f54a63934cf4f806eaf4d725 (patch)
tree449d53db7625fa1d7dd7113287f335d7af5b1da8 /sys
parent155750bb17fefa4b53f763fcb21683c1cc23ab62 (diff)
Fix (unused) OPENPIC_IPI macro.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/dev/openpicreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/openpicreg.h b/sys/arch/macppc/dev/openpicreg.h
index e4c0d715cd3..37dff634c50 100644
--- a/sys/arch/macppc/dev/openpicreg.h
+++ b/sys/arch/macppc/dev/openpicreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpicreg.h,v 1.1 2001/09/01 15:50:00 drahn Exp $ */
+/* $OpenBSD: openpicreg.h,v 1.2 2007/01/07 13:39:28 miod Exp $ */
/* $NetBSD: openpicreg.h,v 1.1 2000/02/14 12:45:53 tsubai Exp $ */
/*-
@@ -77,7 +77,7 @@
*/
/* IPI command reg */
-#define OPENPIC_IPI(cpu, ipi) (0x20040 + (cpu) * 0x1000 + (ipi))
+#define OPENPIC_IPI(cpu, ipi) (0x20040 + (cpu) * 0x1000 + (ipi) * 0x10)
/* current task priority reg */
#define OPENPIC_CPU_PRIORITY(cpu) (0x20080 + (cpu) * 0x1000)