new_rtr_entry=(struct rtr_id *)kmalloc(sizeof(struct rtr_id),GFP_ATOMIC);
rtr_current->next=new_rtr_entry;
}
-#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,3,0))
- init_waitqueue(&new_rtr_entry->rtr_wq);
-#else
init_waitqueue_head(&new_rtr_entry->rtr_wq);
-#endif
new_rtr_entry->id = read_msg.id;
new_rtr_entry->rtr_message = &read_msg;
new_rtr_entry->next=NULL;