Fix some inconsistent field name in struct task_group_s: addrenv should be tg_addrenv.
This commit is contained in:
parent
566dc8dd38
commit
e326fcfef3
@ -252,7 +252,7 @@ uintptr_t pgalloc(uintptr_t brkaddr, unsigned int npages)
|
||||
{
|
||||
/* Get the physical address of the level 2 page table */
|
||||
|
||||
paddr = get_pgtable(&group->addrenv, brkaddr);
|
||||
paddr = get_pgtable(&group->tg_addrenv, brkaddr);
|
||||
if (paddr == 0)
|
||||
{
|
||||
return 0;
|
||||
|
@ -157,7 +157,7 @@ int group_addrenv(FAR struct tcb_s *tcb)
|
||||
* the group whose environment is disappearing.
|
||||
*/
|
||||
|
||||
up_addrenv_coherent(&oldgroup->addrenv);
|
||||
up_addrenv_coherent(&oldgroup->tg_addrenv);
|
||||
}
|
||||
}
|
||||
|
||||
@ -167,7 +167,7 @@ int group_addrenv(FAR struct tcb_s *tcb)
|
||||
* instantiated.
|
||||
*/
|
||||
|
||||
ret = up_addrenv_select(&group->addrenv, NULL);
|
||||
ret = up_addrenv_select(&group->tg_addrenv, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
bdbg("ERROR: up_addrenv_select failed: %d\n", ret);
|
||||
|
Loading…
Reference in New Issue
Block a user