]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/dev/dtrace/dtrace_subr.c
xnu-2422.110.17.tar.gz
[apple/xnu.git] / bsd / dev / dtrace / dtrace_subr.c
index 3d8e65309ba4edbb9eec06d2238e1e19c976fe68..c609fddec268ac652ff4ee54a5ea95329ce40136 100644 (file)
@@ -49,11 +49,14 @@ int (*dtrace_fasttrap_probe_ptr)(struct regs *);
  * They're assigned in dtrace.c but Darwin never calls them.
  */
 void (*dtrace_cpu_init)(processorid_t);
+#if !defined(__APPLE__)
 void (*dtrace_modload)(struct modctl *);
 void (*dtrace_modunload)(struct modctl *);
-#if defined(__APPLE__)
+#else
+int (*dtrace_modload)(struct kmod_info *, uint32_t);
+int (*dtrace_modunload)(struct kmod_info *);
 void (*dtrace_helpers_cleanup)(proc_t *);
-#endif
+#endif  /*__APPLE__*/
 void (*dtrace_helpers_fork)(proc_t *, proc_t *);
 void (*dtrace_cpustart_init)(void);
 void (*dtrace_cpustart_fini)(void);