* @cyclic_list: Cylic list node
*/
struct cyclic_drv {
- struct list_head cyclic_list;
+ struct hlist_head cyclic_list;
};
/**
uint64_t cpu_time_us;
uint64_t run_cnt;
uint64_t next_call;
- struct list_head list;
+ struct hlist_node list;
bool already_warned;
};
*
* @return: pointer to cyclic_list
*/
-struct list_head *cyclic_get_list(void);
+struct hlist_head *cyclic_get_list(void);
/**
* cyclic_run() - Interate over all registered cyclic functions