Rename microkernel struct field 'Tail' to 'tail'.

Rename field 'Tail' of the struct:
- 'k_tqhd' in the file kernel/microkernel/include/micro_private_types.h
- 'List' in the file include/misc/lists.h

Change-Id: If857235ab6ec83fb058e0e2857a2828b8bfd308a
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-08-24 15:49:00 -05:00 committed by Anas Nashif
commit c2b3ab57e6
4 changed files with 13 additions and 13 deletions

View file

@ -89,8 +89,8 @@ void _k_state_bit_reset(struct k_task *X, /* ptr to task */
struct k_tqhd *H = _k_task_priority_list + X->priority;
X->next = NULL;
H->Tail->next = X;
H->Tail = X;
H->tail->next = X;
H->tail = X;
_k_task_priority_bitmap[X->priority >> 5] |= (1 << (X->priority & 0x1F));
}
@ -167,8 +167,8 @@ void _k_state_bit_set(
cur_task->next = task_ptr->next;
if (task_queue->Tail == task_ptr) {
task_queue->Tail = cur_task;
if (task_queue->tail == task_ptr) {
task_queue->tail = cur_task;
}
/*
@ -552,8 +552,8 @@ void _k_task_yield(struct k_args *A)
ARG_UNUSED(A);
if (X && H->head == _k_current_task) {
_k_current_task->next = NULL;
H->Tail->next = _k_current_task;
H->Tail = _k_current_task;
H->tail->next = _k_current_task;
H->tail = _k_current_task;
H->head = X;
}
}