Print this page
OS-2366 ddi_periodic_add(9F) is entirely rubbish

@@ -20,10 +20,13 @@
  */
 
 /*
  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  */
+/*
+ * Copyright (c) 2013, Joyent, Inc.  All rights reserved.
+ */
 
 /*
  * PSMI 1.1 extensions are supported only in 2.6 and later versions.
  * PSMI 1.2 extensions are supported only in 2.7 and later versions.
  * PSMI 1.3 and 1.4 extensions are supported in Solaris 10.

@@ -1349,11 +1352,11 @@
          */
         drv_usecwait(7000000); /* wait seven seconds */
 
 }
 
-ddi_periodic_t apic_periodic_id;
+cyclic_id_t apic_cyclic_id;
 
 /*
  * The following functions are in the platform specific file so that they
  * can be different functions depending on whether we are running on
  * bare metal or a hypervisor.