1 use crate::include::bindings::bindings::{wait_queue_head_t}; 2 3 use super::{list::list_init}; 4 5 6 impl Default for wait_queue_head_t{ default() -> Self7 fn default() -> Self { 8 let mut x = Self { wait_list: Default::default(), lock: Default::default() }; 9 list_init(&mut x.wait_list); 10 return x; 11 } 12 }