summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/firewirereg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/firewirereg.h')
-rw-r--r--sys/dev/firewire/firewirereg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/firewire/firewirereg.h b/sys/dev/firewire/firewirereg.h
index 0998575..9cbcadf 100644
--- a/sys/dev/firewire/firewirereg.h
+++ b/sys/dev/firewire/firewirereg.h
@@ -368,5 +368,11 @@ extern devclass_t firewire_devclass;
#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)(va))
#endif /* __alpha__ */
+#if __FreeBSD_version >= 500000
+#define CALLOUT_INIT(x) callout_init(x, 0 /* mpsafe */)
+#else
+#define CALLOUT_INIT(x) callout_init(x)
+#endif
+
MALLOC_DECLARE(M_FW);
MALLOC_DECLARE(M_FWXFER);
OpenPOWER on IntegriCloud