Rename k_args 'Srce' field to 'alloc'
Since multi-node systems are not supported, the 'Srce' field now only serves one purpose--to indicate whether the packet was allocated from the command packet pool. As such, a better name (and type) for it is 'alloc' (of type 'bool') since 'Srce' (of type 'knode_t') suggest multi-node support. Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com> Change-Id: I47a935af13fd55dbca23c879841d68caf895eae4
This commit is contained in:
parent
265448a23d
commit
101d486834
8 changed files with 11 additions and 10 deletions
|
@ -380,7 +380,7 @@ void K_set_prio(struct k_args *A)
|
|||
X->Prio = A->Args.g1.prio;
|
||||
reset_state_bit(X, TF_PRIO);
|
||||
|
||||
if (A->Srce)
|
||||
if (A->alloc)
|
||||
FREEARGS(A);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue