summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2008-12-06 04:31:25 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2008-12-06 04:31:25 +0000
commit5aa0e3f0355e445f9c826a7f58c3620b8c80e6d8 (patch)
treeddf23c84d58587b71d6015880120770c7aeff5e6 /sys/arch/hppa64
parente774fb066c7e5e55bc5173ebf5a50e0a9b5e1673 (diff)
mpsafe intr_establish that doesn't get biglock, so that we may dream of the day when this is useful.
mostly macro magic that does nothing. only actually useful on amd64 for now, compliments of art.
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r--sys/arch/hppa64/include/pci_machdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/pci_machdep.h b/sys/arch/hppa64/include/pci_machdep.h
index 9e122ad90ab..2115d8e35ca 100644
--- a/sys/arch/hppa64/include/pci_machdep.h
+++ b/sys/arch/hppa64/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.2 2008/12/06 04:31:24 tedu Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -73,6 +73,8 @@ struct hppa64_pci_chipset_tag {
(*(c)->pc_intr_string)((c)->_cookie, (ih))
#define pci_intr_establish(c, ih, l, h, a, nm) \
(*(c)->pc_intr_establish)((c)->_cookie, (ih), (l), (h), (a), (nm))
+#define pci_intr_establish_mpsafe(c,h,l,f,a,w) \
+ pci_intr_establish(c,h,l,f,a,w)
#define pci_intr_disestablish(c, iv) \
(*(c)->pc_intr_disestablish)((c)->_cookie, (iv))