diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2008-12-06 04:31:25 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2008-12-06 04:31:25 +0000 |
commit | 5aa0e3f0355e445f9c826a7f58c3620b8c80e6d8 (patch) | |
tree | ddf23c84d58587b71d6015880120770c7aeff5e6 /sys/arch/sparc64 | |
parent | e774fb066c7e5e55bc5173ebf5a50e0a9b5e1673 (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/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/pci_machdep.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/pci_machdep.h b/sys/arch/sparc64/include/pci_machdep.h index f97af5807c9..aa845e04357 100644 --- a/sys/arch/sparc64/include/pci_machdep.h +++ b/sys/arch/sparc64/include/pci_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.h,v 1.19 2008/01/19 11:13:43 kettenis Exp $ */ +/* $OpenBSD: pci_machdep.h,v 1.20 2008/12/06 04:31:24 tedu Exp $ */ /* $NetBSD: pci_machdep.h,v 1.7 2001/07/20 00:07:14 eeh Exp $ */ /* @@ -87,6 +87,8 @@ int pci_intr_line(pci_intr_handle_t); const char *pci_intr_string(pci_chipset_tag_t, pci_intr_handle_t); void *pci_intr_establish(pci_chipset_tag_t, pci_intr_handle_t, int, int (*)(void *), void *, char *); +#define pci_intr_establish_mpsafe(t,h,l,f,a,w) \ + pci_intr_establish(t,h,l,f,a,w) void pci_intr_disestablish(pci_chipset_tag_t, void *); int sparc64_pci_enumerate_bus(struct pci_softc *, |