|
|
@ -60,9 +60,8 @@ CK_CC_INLINE static void
|
|
|
|
ck_hp_fifo_init(struct ck_hp_fifo *fifo, struct ck_hp_fifo_entry *stub)
|
|
|
|
ck_hp_fifo_init(struct ck_hp_fifo *fifo, struct ck_hp_fifo_entry *stub)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
ck_pr_store_ptr(&stub->next, NULL);
|
|
|
|
fifo->head = fifo->tail = stub;
|
|
|
|
ck_pr_store_ptr(&fifo->head, stub);
|
|
|
|
stub->next = NULL;
|
|
|
|
ck_pr_store_ptr(&fifo->tail, stub);
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|