Print this page
8115 parallel zfs mount
*** 19,28 ****
--- 19,30 ----
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2017 RackTop Systems.
*/
#ifndef _SYS_CYCLIC_H
#define _SYS_CYCLIC_H
*** 70,80 ****
void *cyo_arg;
} cyc_omni_handler_t;
#define CY_INFINITY INT64_MAX
! #ifdef _KERNEL
extern cyclic_id_t cyclic_add(cyc_handler_t *, cyc_time_t *);
extern cyclic_id_t cyclic_add_omni(cyc_omni_handler_t *);
extern void cyclic_remove(cyclic_id_t);
extern void cyclic_bind(cyclic_id_t, cpu_t *, cpupart_t *);
--- 72,82 ----
void *cyo_arg;
} cyc_omni_handler_t;
#define CY_INFINITY INT64_MAX
! #if defined(_KERNEL) || defined(_FAKE_KERNEL)
extern cyclic_id_t cyclic_add(cyc_handler_t *, cyc_time_t *);
extern cyclic_id_t cyclic_add_omni(cyc_omni_handler_t *);
extern void cyclic_remove(cyclic_id_t);
extern void cyclic_bind(cyclic_id_t, cpu_t *, cpupart_t *);
*** 90,100 ****
extern void cyclic_resume();
extern void cyclic_fire(cpu_t *cpu);
extern void cyclic_softint(cpu_t *cpu, cyc_level_t level);
! #endif /* _KERNEL */
#endif /* !_ASM */
#ifdef __cplusplus
}
--- 92,102 ----
extern void cyclic_resume();
extern void cyclic_fire(cpu_t *cpu);
extern void cyclic_softint(cpu_t *cpu, cyc_level_t level);
! #endif /* _KERNEL || _FAKE_KERNEL */
#endif /* !_ASM */
#ifdef __cplusplus
}